Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideAir.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.0007842/0.0007842, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008448/0.0008448, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9227/0.9227, allocations: 230.6 MB / 256 MB, free: 9.801 MB / 202.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.7915/0.7915, allocations: 203.8 MB / 0.5042 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 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.Fluid.Sources.Examples.OutsideAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_OutsideAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.OutsideAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_OutsideAir",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.0009305/0.0009305, allocations: 62.97 kB / 0.7182 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5039/0.5048, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.OutsideAir): time 0.1614/0.6662, allocations: 175.3 MB / 0.989 GB, free: 6.156 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01447/0.6806, allocations: 12.88 MB / 1.002 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.682, allocations: 59.56 kB / 1.002 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001839/0.6839, allocations: 1.228 MB / 1.003 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.003961/0.6878, allocations: 2.376 MB / 1.005 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003147/0.691, allocations: 1.914 MB / 1.007 GB, free: 3.668 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.004785/0.6958, allocations: 6.491 MB / 1.013 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003771/0.6995, allocations: 4.112 MB / 1.017 GB, free: 8.941 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003122/0.7027, allocations: 2.784 MB / 1.02 GB, free: 6.16 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002199/0.7049, allocations: 2.892 MB / 1.023 GB, free: 3.258 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0006081/0.7055, allocations: 0.6055 MB / 1.024 GB, free: 2.652 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003217/0.7087, allocations: 2.251 MB / 1.026 GB, free: 408 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.00112/0.7098, allocations: 1.733 MB / 1.027 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.002056/0.7119, allocations: 2.857 MB / 1.03 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.006527/0.7184, allocations: 8.345 MB / 1.038 GB, free: 3.414 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.7184, allocations: 4 kB / 1.038 GB, free: 3.41 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7184, allocations: 0 / 1.038 GB, free: 3.41 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.000112/0.7185, allocations: 0 / 1.038 GB, free: 3.41 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1040 * Number of variables: 1040 Notification: Performance of Generate backend data structure: time 0.00797/0.7265, allocations: 6.145 MB / 1.044 GB, free: 13.18 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.7265, allocations: 8.031 kB / 1.044 GB, free: 13.17 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005058/0.727, allocations: 0.5553 MB / 1.045 GB, free: 12.61 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01258/0.7396, allocations: 3.832 MB / 1.049 GB, free: 8.77 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005515/0.7451, allocations: 5.31 MB / 1.054 GB, free: 3.402 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/0.7453, allocations: 304.1 kB / 1.054 GB, free: 3.102 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003924/0.7457, allocations: 403.9 kB / 1.055 GB, free: 2.707 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009126/0.7548, allocations: 6.505 MB / 1.061 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.004e-05/0.7549, allocations: 3.938 kB / 1.061 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002951/0.7552, allocations: 172 kB / 1.061 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.261e-05/0.7552, allocations: 100 kB / 1.061 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01168/0.7669, allocations: 7.598 MB / 1.069 GB, free: 4.188 MB / 0.8386 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0239/0.7908, allocations: 22.09 MB / 1.09 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008709/0.7995, allocations: 5.634 MB / 1.096 GB, free: 6.699 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004586/0.8041, allocations: 2.806 MB / 1.098 GB, free: 3.887 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005202/0.8046, allocations: 274.4 kB / 1.099 GB, free: 3.617 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004993/0.8096, allocations: 3.462 MB / 1.102 GB, free: 108 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=287): time 3.617e-06/0.8096, allocations: 0 / 1.102 GB, free: 108 kB / 0.8698 GB Notification: Performance of matching and sorting (n=287): time 0.01562/0.8252, allocations: 8.879 MB / 1.111 GB, free: 7.172 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.941e-05/0.8253, allocations: 210.2 kB / 1.111 GB, free: 6.922 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005669/0.831, allocations: 6.519 MB / 1.117 GB, free: 432 kB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002345/0.8312, allocations: 81.7 kB / 1.117 GB, free: 344 kB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001407/0.8326, allocations: 2.04 MB / 1.119 GB, free: 14.28 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007077/0.8333, allocations: 0.9992 MB / 1.12 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007162/0.834, allocations: 0.6108 MB / 1.121 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.65e-05/0.8341, allocations: 301.1 kB / 1.121 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00427/0.8384, allocations: 2.742 MB / 1.124 GB, free: 9.613 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004801/0.8432, allocations: 3.115 MB / 1.127 GB, free: 6.391 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008687/0.8519, allocations: 5.534 MB / 1.132 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.8519, allocations: 7.938 kB / 1.132 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of matching and sorting (n=351) (initialization): time 0.01104/0.8629, allocations: 6.413 MB / 1.139 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.8629, allocations: 16.05 kB / 1.139 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.863, allocations: 8 kB / 1.139 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003298/0.8633, allocations: 96.78 kB / 1.139 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002901/0.8662, allocations: 1.178 MB / 1.14 GB, free: 8.973 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/0.8677, allocations: 1.61 MB / 1.141 GB, free: 7.242 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003094/0.8708, allocations: 0.8099 MB / 1.142 GB, free: 6.43 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002101/0.871, allocations: 147.8 kB / 1.142 GB, free: 6.285 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 21 (sim.radSol[1].solAzi.outsidePolarCircle,sim.radSol[2].solAzi.outsidePolarCircle,sim.radSol[3].solAzi.outsidePolarCircle,sim.radSol[4].solAzi.outsidePolarCircle,sim.radSol[5].solAzi.outsidePolarCircle,sim.radSol[6].solAzi.outsidePolarCircle,sim.weaDat.decAng.tNext,$PRE.sim.weaDat.decAng.tNext,sim.weaDat.eqnTim.tNext,$PRE.sim.weaDat.eqnTim.tNext,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.weaDat.conTimMin.tNext,sim.weaDat.locTim.tNext,$PRE.sim.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (349): * Single equations (assignments): 348 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002209/0.8732, allocations: 1.318 MB / 1.144 GB, free: 4.961 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007058/0.8739, allocations: 417.3 kB / 1.144 GB, free: 4.551 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4247/1.299, allocations: 6.846 MB / 1.151 GB, free: 298.1 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.498e-05/1.299, allocations: 29.53 kB / 1.151 GB, free: 298.1 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/1.299, allocations: 0.75 kB / 1.151 GB, free: 298.1 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.947e-05/1.299, allocations: 14.53 kB / 1.151 GB, free: 298.1 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02303/1.322, allocations: 13.05 MB / 1.163 GB, free: 292.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/1.322, allocations: 0.6562 kB / 1.163 GB, free: 292.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00304/1.325, allocations: 1.051 MB / 1.165 GB, free: 292.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000288/1.325, allocations: 89.92 kB / 1.165 GB, free: 292.7 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003336/1.325, allocations: 79.17 kB / 1.165 GB, free: 292.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/1.327, allocations: 1.621 MB / 1.166 GB, free: 291.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.327, allocations: 0 / 1.166 GB, free: 291.2 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01097/1.338, allocations: 6.021 MB / 1.172 GB, free: 289.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003349/1.341, allocations: 1.118 MB / 1.173 GB, free: 289.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001673/1.343, allocations: 79.89 kB / 1.173 GB, free: 289.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00351/1.346, allocations: 0.6078 MB / 1.174 GB, free: 289 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004012/1.346, allocations: 205.8 kB / 1.174 GB, free: 289 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002803/1.347, allocations: 124.9 kB / 1.174 GB, free: 289 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.005652/1.352, allocations: 4.951 MB / 1.179 GB, free: 287.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.6e-07/1.352, allocations: 1.719 kB / 1.179 GB, free: 287.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.004557/1.357, allocations: 1.325 MB / 1.18 GB, free: 287.2 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sim.weaDat.locTim.tNext,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext,sim.weaDat.eqnTim.tNext,sim.weaDat.decAng.tNext) * Number of discrete states: 5 (sim.weaDat.locTim.tNext,sim.weaDat.conTim.tNext,sim.weaDat.eqnTim.tNext,sim.weaDat.decAng.tNext,sim.weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (315): * Single equations (assignments): 309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0141/1.371, allocations: 7.311 MB / 1.187 GB, free: 284.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01039/1.381, allocations: 5.927 MB / 1.193 GB, free: 281.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/1.381, allocations: 0.8906 kB / 1.193 GB, free: 281.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.004663/1.386, allocations: 2.941 MB / 1.196 GB, free: 280.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003053/1.389, allocations: 0.6977 MB / 1.197 GB, free: 279.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06197/1.451, allocations: 47.71 MB / 1.243 GB, free: 233.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001983/1.453, allocations: 3.025 MB / 1.246 GB, free: 230.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0035/1.457, allocations: 1.26 MB / 1.248 GB, free: 229 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002958/1.46, allocations: 2.104 MB / 1.25 GB, free: 226.9 MB / 0.9167 GB Notification: Performance of SimCode: time 1.623e-06/1.46, allocations: 0 / 1.25 GB, free: 226.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1048/1.564, allocations: 95.95 MB / 1.343 GB, free: 131.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/14.56, allocations: 3.938 kB / 1.343 GB, free: 131.3 MB / 0.9167 GB " [Timeout remaining time 645] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideAir.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideAir.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideAir.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideAir_res.csv --start-time 1.728e+07 --stop-time 1.78848e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 IDEAS_dev_IDEAS_Fluid_Sources_Examples_OutsideAir.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideAir.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.6991362569388] Failed to read output from testmodel.py, exit status != 0: 14.74733089003712 14.756755324 14.036671517 Calling exit ...