Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007671/0.0007671, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007956/0.0007956, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9328/0.9328, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04214/0.04214, allocations: 12.18 MB / 324.6 MB, free: 6.082 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004289/0.0004289, allocations: 23.95 kB / 384.1 MB, free: 10.5 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.671/1.671, allocations: 353.9 MB / 0.7787 GB, free: 4.527 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 127.3 kB / 1.06 GB, free: 24.7 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2453, allocations: 134.9 MB / 1.192 GB, free: 7.504 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.00178/0.2471, allocations: 0.8325 MB / 1.192 GB, free: 6.672 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.2486, allocations: 1.332 MB / 1.194 GB, free: 5.328 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.941e-05/0.2487, allocations: 3.938 kB / 1.194 GB, free: 5.324 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.2488, allocations: 15.8 kB / 1.194 GB, free: 5.309 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.017e-05/0.2489, allocations: 35.72 kB / 1.194 GB, free: 5.273 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006169/0.2495, allocations: 261.6 kB / 1.194 GB, free: 5.023 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002801/0.2498, allocations: 323.5 kB / 1.194 GB, free: 4.707 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.25, allocations: 45.58 kB / 1.194 GB, free: 4.656 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.2501, allocations: 135.7 kB / 1.195 GB, free: 4.523 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.2502, allocations: 95.61 kB / 1.195 GB, free: 4.43 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.631e-05/0.2503, allocations: 32 kB / 1.195 GB, free: 4.398 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.384e-05/0.2504, allocations: 44 kB / 1.195 GB, free: 4.355 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 7.826e-05/0.2504, allocations: 59.7 kB / 1.195 GB, free: 4.297 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 9.876e-05/0.2505, allocations: 99.58 kB / 1.195 GB, free: 4.199 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.2509, allocations: 354.8 kB / 1.195 GB, free: 3.852 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2509, allocations: 0 / 1.195 GB, free: 3.852 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2509, allocations: 0 / 1.195 GB, free: 3.852 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.2509, allocations: 0 / 1.195 GB, free: 3.852 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006413/0.2515, allocations: 484.7 kB / 1.196 GB, free: 3.332 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.2516, allocations: 12.03 kB / 1.196 GB, free: 3.32 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.377e-05/0.2516, allocations: 46.73 kB / 1.196 GB, free: 3.266 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003395/0.252, allocations: 56.77 kB / 1.196 GB, free: 3.211 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000513/0.2525, allocations: 238 kB / 1.196 GB, free: 2.953 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.2525, allocations: 16.36 kB / 1.196 GB, free: 2.938 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.2525, allocations: 20.38 kB / 1.196 GB, free: 2.918 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.2527, allocations: 154.6 kB / 1.196 GB, free: 2.75 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2527, allocations: 3.938 kB / 1.196 GB, free: 2.746 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.2527, allocations: 4 kB / 1.196 GB, free: 2.742 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.2528, allocations: 4 kB / 1.196 GB, free: 2.738 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.54e-05/0.2528, allocations: 67.89 kB / 1.196 GB, free: 2.672 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006228/0.2535, allocations: 0.6836 MB / 1.197 GB, free: 1.934 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.559e-05/0.2536, allocations: 53.2 kB / 1.197 GB, free: 1.863 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.226e-05/0.2536, allocations: 21.78 kB / 1.197 GB, free: 1.836 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.2536, allocations: 0 / 1.197 GB, free: 1.836 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002452/0.2539, allocations: 105 kB / 1.197 GB, free: 1.715 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.2539, allocations: 4 kB / 1.197 GB, free: 1.711 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0002556/0.2541, allocations: 125.5 kB / 1.197 GB, free: 1.582 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.2542, allocations: 77.11 kB / 1.197 GB, free: 1.488 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.2543, allocations: 219.7 kB / 1.198 GB, free: 1.262 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.2543, allocations: 33.7 kB / 1.198 GB, free: 1.223 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.069e-05/0.2544, allocations: 136.3 kB / 1.198 GB, free: 1.086 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.2544, allocations: 27.81 kB / 1.198 GB, free: 1.059 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.447e-05/0.2545, allocations: 69.62 kB / 1.198 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.835e-05/0.2546, allocations: 334.8 kB / 1.198 GB, free: 0.6484 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.2547, allocations: 127.4 kB / 1.198 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.2549, allocations: 248.7 kB / 1.198 GB, free: 220 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.2551, allocations: 190.2 kB / 1.199 GB, free: 15.99 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2551, allocations: 0 / 1.199 GB, free: 15.99 MB / 0.8387 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003471/0.2554, allocations: 368.2 kB / 1.199 GB, free: 15.6 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 5.466e-05/0.2555, allocations: 67.39 kB / 1.199 GB, free: 15.52 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2555, allocations: 0 / 1.199 GB, free: 15.52 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.2555, allocations: 7.938 kB / 1.199 GB, free: 15.52 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.462e-05/0.2556, allocations: 15.94 kB / 1.199 GB, free: 15.5 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.2556, allocations: 3.984 kB / 1.199 GB, free: 15.5 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.2558, allocations: 56.09 kB / 1.199 GB, free: 15.44 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.2558, allocations: 11.98 kB / 1.199 GB, free: 15.43 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000138/0.256, allocations: 152.9 kB / 1.199 GB, free: 15.27 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.256, allocations: 15.91 kB / 1.199 GB, free: 15.26 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.421e-05/0.256, allocations: 21.02 kB / 1.199 GB, free: 15.24 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.256, allocations: 4 kB / 1.199 GB, free: 15.23 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.256, allocations: 3.938 kB / 1.199 GB, free: 15.23 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.256, allocations: 0 / 1.199 GB, free: 15.23 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.2562, allocations: 196.6 kB / 1.2 GB, free: 15 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2562, allocations: 4 kB / 1.2 GB, free: 14.99 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.78e-05/0.2562, allocations: 4 kB / 1.2 GB, free: 14.99 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.2562, allocations: 4 kB / 1.2 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.2562, allocations: 0 / 1.2 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2562, allocations: 0 / 1.2 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.2562, allocations: 3.984 kB / 1.2 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.2564, allocations: 149.8 kB / 1.2 GB, free: 14.81 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.2564, allocations: 11.91 kB / 1.2 GB, free: 14.8 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.2564, allocations: 3.938 kB / 1.2 GB, free: 14.8 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.492e-05/0.2565, allocations: 8 kB / 1.2 GB, free: 14.79 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.2565, allocations: 7.984 kB / 1.2 GB, free: 14.78 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.2565, allocations: 7.938 kB / 1.2 GB, free: 14.77 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.0003861/0.2569, allocations: 145.5 kB / 1.2 GB, free: 14.63 MB / 0.8387 GB Notification: Performance of sort global known variables: time 6e-08/0.2569, allocations: 0 / 1.2 GB, free: 14.63 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001903/0.2571, allocations: 43.92 kB / 1.2 GB, free: 14.59 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003687/0.2574, allocations: 0.6799 MB / 1.201 GB, free: 13.88 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002898/0.2577, allocations: 290.2 kB / 1.201 GB, free: 13.55 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2577, allocations: 4.375 kB / 1.201 GB, free: 13.55 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-05/0.2578, allocations: 36.09 kB / 1.201 GB, free: 13.52 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.258, allocations: 45.78 kB / 1.201 GB, free: 13.47 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.2599, allocations: 2.431 MB / 1.203 GB, free: 10.85 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.313e-05/0.2599, allocations: 119.6 kB / 1.203 GB, free: 10.71 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 6.231e-05/0.26, allocations: 25.47 kB / 1.203 GB, free: 10.68 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.065e-05/0.2601, allocations: 51.42 kB / 1.203 GB, free: 10.63 MB / 0.8387 GB Notification: Performance of SimCode: time 1.012e-06/0.2601, allocations: 0 / 1.203 GB, free: 10.63 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.2782, allocations: 5.063 MB / 1.208 GB, free: 5.77 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.463/6.741, allocations: 14.42 kB / 1.208 GB, free: 5.758 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.128981587477028] Failed to read output from testmodel.py, exit status != 0: 6.820213855244219 6.8291430459999996 6.576245787 Calling exit ...