Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.0009087/0.0009087, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009099/0.0009099, allocations: 207.6 kB / 22.25 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 1.007/1.007, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8067/0.8067, allocations: 203.5 MB / 0.5039 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001335/0.001335, allocations: 71.03 kB / 0.7178 GB, free: 4.461 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5396/0.5409, allocations: 102 MB / 0.8174 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001765/0.5427, allocations: 0.9518 MB / 0.8183 GB, free: 0.6523 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00159/0.5443, allocations: 1.362 MB / 0.8196 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.578e-05/0.5444, allocations: 2.312 kB / 0.8196 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.5445, allocations: 19.12 kB / 0.8197 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.392e-05/0.5446, allocations: 44.91 kB / 0.8197 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008119/0.5454, allocations: 282.8 kB / 0.82 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004313/0.5458, allocations: 381.2 kB / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.546, allocations: 47.97 kB / 0.8204 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.5462, allocations: 156.7 kB / 0.8205 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.5464, allocations: 123.4 kB / 0.8206 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.914e-05/0.5465, allocations: 34.72 kB / 0.8207 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.5466, allocations: 49.3 kB / 0.8207 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.5467, allocations: 58.47 kB / 0.8208 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.5468, allocations: 117.7 kB / 0.8209 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004396/0.5473, allocations: 408.3 kB / 0.8213 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5473, allocations: 0 / 0.8213 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.324e-06/0.5473, allocations: 0 / 0.8213 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.5473, allocations: 0.7031 kB / 0.8213 GB, free: 14.9 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008027/0.5481, allocations: 0.5475 MB / 0.8218 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.5481, allocations: 11.97 kB / 0.8218 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.371e-05/0.5482, allocations: 45.34 kB / 0.8219 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002805/0.5485, allocations: 65.52 kB / 0.8219 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005575/0.549, allocations: 312 kB / 0.8222 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.549, allocations: 14.12 kB / 0.8222 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.5491, allocations: 20.52 kB / 0.8223 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003164/0.5494, allocations: 216 kB / 0.8225 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.5494, allocations: 0 / 0.8225 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.5494, allocations: 7.578 kB / 0.8225 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.5494, allocations: 2.781 kB / 0.8225 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002584/0.5497, allocations: 139.3 kB / 0.8226 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008096/0.5505, allocations: 0.828 MB / 0.8234 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.5507, allocations: 146.2 kB / 0.8236 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.5509, allocations: 85.66 kB / 0.8236 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.5509, allocations: 6.203 kB / 0.8236 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004029/0.5513, allocations: 164.2 kB / 0.8238 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.5513, allocations: 4 kB / 0.8238 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0006374/0.5519, allocations: 254.2 kB / 0.824 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/0.552, allocations: 171.3 kB / 0.8242 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.5522, allocations: 219 kB / 0.8244 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.5523, allocations: 37.33 kB / 0.8245 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.5524, allocations: 153.3 kB / 0.8246 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.5524, allocations: 39.23 kB / 0.8246 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.926e-05/0.5525, allocations: 55.02 kB / 0.8247 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.5526, allocations: 334.3 kB / 0.825 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/0.5529, allocations: 161.7 kB / 0.8252 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.5531, allocations: 288.7 kB / 0.8254 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/0.5535, allocations: 278.2 kB / 0.8257 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5535, allocations: 1.156 kB / 0.8257 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005702/0.5541, allocations: 438.1 kB / 0.8261 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.32e-05/0.5541, allocations: 63.61 kB / 0.8262 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.5541, allocations: 2.781 kB / 0.8262 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.5541, allocations: 2.781 kB / 0.8262 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.5542, allocations: 29.7 kB / 0.8262 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.5543, allocations: 2.75 kB / 0.8262 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.5545, allocations: 77.06 kB / 0.8263 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.5545, allocations: 12.16 kB / 0.8263 GB, free: 11.21 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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.0001328/0.5546, allocations: 164.3 kB / 0.8265 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.5547, allocations: 22.28 kB / 0.8265 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.178e-05/0.5547, allocations: 22.55 kB / 0.8265 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.5547, allocations: 6.188 kB / 0.8265 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.5547, allocations: 2.094 kB / 0.8265 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.5547, allocations: 1.516 kB / 0.8265 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.555, allocations: 216 kB / 0.8267 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.555, allocations: 1.938 kB / 0.8267 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.507e-05/0.5551, allocations: 25.19 kB / 0.8267 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.5551, allocations: 5.219 kB / 0.8268 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.5551, allocations: 7.719 kB / 0.8268 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.5551, allocations: 1.969 kB / 0.8268 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.5551, allocations: 6.625 kB / 0.8268 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003798/0.5555, allocations: 245.1 kB / 0.827 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/0.5555, allocations: 17.33 kB / 0.827 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.5555, allocations: 4.75 kB / 0.827 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.908e-05/0.5556, allocations: 22.66 kB / 0.827 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/0.5557, allocations: 14.59 kB / 0.8271 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.5557, allocations: 9.344 kB / 0.8271 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001591/0.5559, allocations: 161.5 kB / 0.8272 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.5559, allocations: 0 / 0.8272 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003068/0.5562, allocations: 52.8 kB / 0.8273 GB, free: 10.56 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.0007885/0.557, allocations: 0.7868 MB / 0.828 GB, free: 9.883 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006787/0.5576, allocations: 386 kB / 0.8284 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.5576, allocations: 3.938 kB / 0.8284 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.5578, allocations: 72.31 kB / 0.8285 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.5582, allocations: 50.72 kB / 0.8285 GB, free: 9.594 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00381/0.562, allocations: 2.809 MB / 0.8313 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.5621, allocations: 134.8 kB / 0.8314 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001574/0.5623, allocations: 33.27 kB / 0.8314 GB, free: 7.445 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.5624, allocations: 68.42 kB / 0.8315 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of SimCode: time 2.104e-06/0.5624, allocations: 4 kB / 0.8315 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/0.5884, allocations: 6.094 MB / 0.8375 GB, free: 5.543 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.98/7.569, allocations: 13.56 kB / 0.8375 GB, free: 5.535 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.612946093082428] Failed to read output from testmodel.py, exit status != 0: 7.649910528212786 7.662205009 7.11294181 Calling exit ...