Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0006222/0.0006222, allocations: 80.45 kB / 19.15 MB, free: 0.7773 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.0007372/0.0007372, allocations: 162 kB / 22.43 MB, free: 2.145 MB / 18.57 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.8913/0.8913, allocations: 177.2 MB / 202.8 MB, free: 5.797 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6773/0.6773, allocations: 155 MB / 414.2 MB, free: 0.4922 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="IDEAS_dev_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.0008892/0.0008892, allocations: 74.53 kB / 0.6187 GB, free: 13.26 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4576/0.4585, allocations: 102 MB / 0.7182 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002081/0.4606, allocations: 0.9474 MB / 0.7192 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002231/0.4628, allocations: 1.351 MB / 0.7205 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.576e-05/0.4629, allocations: 9.438 kB / 0.7205 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.4631, allocations: 20.41 kB / 0.7205 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.07e-05/0.4631, allocations: 44.22 kB / 0.7206 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007935/0.4639, allocations: 273.9 kB / 0.7208 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005385/0.4645, allocations: 390 kB / 0.7212 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002448/0.4647, allocations: 43.73 kB / 0.7212 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003822/0.4651, allocations: 225.4 kB / 0.7214 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.4653, allocations: 120.9 kB / 0.7216 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.114e-05/0.4654, allocations: 33.59 kB / 0.7216 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.4655, allocations: 46.19 kB / 0.7216 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.4657, allocations: 65.5 kB / 0.7217 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.4658, allocations: 117.5 kB / 0.7218 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006383/0.4665, allocations: 458.8 kB / 0.7222 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.4665, allocations: 4.656 kB / 0.7223 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.116e-06/0.4665, allocations: 0 / 0.7223 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.4665, allocations: 1.125 kB / 0.7223 GB, free: 20.72 MB / 0.6355 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.0008566/0.4673, allocations: 0.5472 MB / 0.7228 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.4674, allocations: 9.719 kB / 0.7228 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.219e-05/0.4674, allocations: 48.02 kB / 0.7228 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003347/0.4678, allocations: 71.94 kB / 0.7229 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005987/0.4684, allocations: 313.5 kB / 0.7232 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.4684, allocations: 18.64 kB / 0.7232 GB, free: 20 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.4684, allocations: 19.97 kB / 0.7232 GB, free: 20 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.4688, allocations: 219.6 kB / 0.7235 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.4688, allocations: 0 / 0.7235 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.4688, allocations: 6.766 kB / 0.7235 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.4688, allocations: 7.156 kB / 0.7235 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.4691, allocations: 139.9 kB / 0.7236 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007468/0.4698, allocations: 0.8236 MB / 0.7244 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.47, allocations: 148 kB / 0.7246 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.4702, allocations: 76.53 kB / 0.7246 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.4702, allocations: 7.094 kB / 0.7246 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003461/0.4705, allocations: 178.8 kB / 0.7248 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.4705, allocations: 0 / 0.7248 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0005944/0.4711, allocations: 258.1 kB / 0.725 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.4712, allocations: 163.5 kB / 0.7252 GB, free: 18.58 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.4713, allocations: 223.3 kB / 0.7254 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.4714, allocations: 34.7 kB / 0.7254 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.698e-05/0.4714, allocations: 156.1 kB / 0.7256 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.4715, allocations: 34.66 kB / 0.7256 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9e-05/0.4716, allocations: 57.28 kB / 0.7257 GB, free: 18.22 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.204e-05/0.4716, allocations: 333 kB / 0.726 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.4718, allocations: 165.1 kB / 0.7262 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.4721, allocations: 285.8 kB / 0.7264 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003214/0.4724, allocations: 276.2 kB / 0.7267 GB, free: 17.37 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.4724, allocations: 4 kB / 0.7267 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000544/0.473, allocations: 433.6 kB / 0.7271 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.646e-05/0.473, allocations: 71.61 kB / 0.7272 GB, free: 17.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.473, allocations: 2.125 kB / 0.7272 GB, free: 17.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.473, allocations: 3.938 kB / 0.7272 GB, free: 17.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.4731, allocations: 25.97 kB / 0.7272 GB, free: 17.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.4731, allocations: 8.469 kB / 0.7272 GB, free: 17.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.4734, allocations: 73.88 kB / 0.7273 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.4734, allocations: 18.03 kB / 0.7273 GB, free: 17.03 MB / 0.6355 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.000104/0.4735, allocations: 158.5 kB / 0.7275 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.4735, allocations: 21.42 kB / 0.7275 GB, free: 16.88 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.264e-05/0.4736, allocations: 23.09 kB / 0.7275 GB, free: 16.86 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.4736, allocations: 2 kB / 0.7275 GB, free: 16.86 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4736, allocations: 3.141 kB / 0.7275 GB, free: 16.86 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.4736, allocations: 0.9375 kB / 0.7275 GB, free: 16.86 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.4737, allocations: 217 kB / 0.7277 GB, free: 16.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4737, allocations: 5.719 kB / 0.7277 GB, free: 16.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.376e-05/0.4738, allocations: 27.73 kB / 0.7277 GB, free: 16.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4738, allocations: 6.625 kB / 0.7278 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.4738, allocations: 2.719 kB / 0.7278 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.4738, allocations: 2.734 kB / 0.7278 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4738, allocations: 1.156 kB / 0.7278 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/0.4742, allocations: 249.1 kB / 0.728 GB, free: 16.52 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.111e-05/0.4742, allocations: 19.8 kB / 0.728 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.4742, allocations: 3.5 kB / 0.728 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.024e-05/0.4743, allocations: 16.94 kB / 0.728 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.4744, allocations: 15.83 kB / 0.7281 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.4744, allocations: 13.27 kB / 0.7281 GB, free: 16.49 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001064/0.4745, allocations: 159.4 kB / 0.7282 GB, free: 16.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4745, allocations: 7.938 kB / 0.7282 GB, free: 16.39 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002276/0.4747, allocations: 53.44 kB / 0.7283 GB, free: 16.38 MB / 0.6355 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.0005264/0.4752, allocations: 0.7753 MB / 0.729 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005043/0.4757, allocations: 380.8 kB / 0.7294 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4757, allocations: 0 / 0.7294 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.4759, allocations: 75.77 kB / 0.7295 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.4762, allocations: 48.8 kB / 0.7295 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.4787, allocations: 2.827 MB / 0.7323 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.4788, allocations: 134.2 kB / 0.7324 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000109/0.4789, allocations: 37.89 kB / 0.7324 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.168e-05/0.4789, allocations: 65.83 kB / 0.7325 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of SimCode: time 8.51e-07/0.4789, allocations: 0 / 0.7325 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.5004, allocations: 6.236 MB / 0.7386 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.598/7.098, allocations: 5.109 kB / 0.7386 GB, free: 11.96 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.729702720884234] Failed to read output from testmodel.py, exit status != 0: 7.1776530558709055 7.191398116 6.722890996 Calling exit ...