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.0007829/0.0007829, 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.0007947/0.0007947, allocations: 223.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 1.008/1.008, allocations: 230.6 MB / 256 MB, free: 9.805 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.8256/0.8256, allocations: 203.8 MB / 0.5042 GB, free: 10.74 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.0009624/0.0009624, allocations: 65.39 kB / 0.7182 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5617/0.5626, 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.1633/0.726, allocations: 175.3 MB / 0.989 GB, free: 6.145 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01734/0.7433, allocations: 12.88 MB / 1.002 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001963/0.7453, allocations: 59.56 kB / 1.002 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002177/0.7475, allocations: 1.232 MB / 1.003 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.00513/0.7526, allocations: 2.371 MB / 1.005 GB, free: 5.559 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003888/0.7565, allocations: 1.914 MB / 1.007 GB, free: 3.66 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.006642/0.7631, allocations: 6.48 MB / 1.013 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005495/0.7686, allocations: 4.123 MB / 1.017 GB, free: 8.934 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004239/0.7728, allocations: 2.786 MB / 1.02 GB, free: 6.152 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002725/0.7756, allocations: 2.899 MB / 1.023 GB, free: 3.242 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.000666/0.7762, allocations: 0.6016 MB / 1.024 GB, free: 2.641 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00334/0.7796, allocations: 2.251 MB / 1.026 GB, free: 396 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001141/0.7807, allocations: 1.725 MB / 1.027 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.002053/0.7828, allocations: 2.861 MB / 1.03 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.007458/0.7902, allocations: 8.345 MB / 1.038 GB, free: 3.406 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.7902, allocations: 0 / 1.038 GB, free: 3.406 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.696e-06/0.7902, allocations: 4 kB / 1.038 GB, free: 3.402 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001188/0.7904, allocations: 0 / 1.038 GB, free: 3.402 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.00733/0.7977, allocations: 6.146 MB / 1.044 GB, free: 13.17 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.7977, allocations: 8.031 kB / 1.044 GB, free: 13.16 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004711/0.7982, allocations: 0.5553 MB / 1.045 GB, free: 12.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01236/0.8106, allocations: 3.832 MB / 1.049 GB, free: 8.762 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006241/0.8168, allocations: 5.314 MB / 1.054 GB, free: 3.391 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.817, allocations: 312.1 kB / 1.054 GB, free: 3.082 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004307/0.8174, allocations: 392 kB / 1.055 GB, free: 2.699 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009219/0.8266, allocations: 6.505 MB / 1.061 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.765e-05/0.8267, allocations: 4 kB / 1.061 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003022/0.827, allocations: 175.9 kB / 1.061 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-05/0.827, allocations: 100 kB / 1.061 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01129/0.8383, allocations: 7.595 MB / 1.069 GB, free: 4.18 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.02175/0.8601, allocations: 22.09 MB / 1.09 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008517/0.8686, allocations: 5.632 MB / 1.096 GB, free: 6.695 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004391/0.873, allocations: 2.81 MB / 1.098 GB, free: 3.879 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005064/0.8735, allocations: 278.4 kB / 1.099 GB, free: 3.605 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00493/0.8784, allocations: 3.458 MB / 1.102 GB, free: 100 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=287): time 3.937e-06/0.8784, allocations: 0 / 1.102 GB, free: 100 kB / 0.8698 GB Notification: Performance of matching and sorting (n=287): time 0.0147/0.8931, allocations: 8.871 MB / 1.111 GB, free: 7.172 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.588e-05/0.8932, allocations: 222.1 kB / 1.111 GB, free: 6.91 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005675/0.8989, allocations: 6.515 MB / 1.117 GB, free: 424 kB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002241/0.8991, allocations: 81.7 kB / 1.117 GB, free: 336 kB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001265/0.9004, allocations: 2.04 MB / 1.119 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006928/0.901, allocations: 1.003 MB / 1.12 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007014/0.9017, allocations: 0.6069 MB / 1.121 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.87e-05/0.9018, allocations: 301.1 kB / 1.121 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004096/0.9059, allocations: 2.738 MB / 1.124 GB, free: 9.609 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004462/0.9104, allocations: 3.119 MB / 1.127 GB, free: 6.383 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008422/0.9188, allocations: 5.532 MB / 1.132 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.9188, allocations: 64 / 1.132 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of matching and sorting (n=351) (initialization): time 0.01062/0.9294, allocations: 6.437 MB / 1.139 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.9294, allocations: 4 kB / 1.139 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.9295, allocations: 8 kB / 1.139 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003318/0.9298, allocations: 101.1 kB / 1.139 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002903/0.9327, allocations: 1.178 MB / 1.14 GB, free: 8.957 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.9342, allocations: 1.601 MB / 1.141 GB, free: 7.234 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003279/0.9375, allocations: 0.8021 MB / 1.142 GB, free: 6.43 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002162/0.9377, 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.002229/0.9399, allocations: 1.324 MB / 1.144 GB, free: 4.953 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007482/0.9407, allocations: 421.3 kB / 1.144 GB, free: 4.539 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.428/1.369, allocations: 6.834 MB / 1.151 GB, free: 298.1 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.34e-05/1.369, allocations: 33.94 kB / 1.151 GB, free: 298.1 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/1.369, allocations: 0.6562 kB / 1.151 GB, free: 298.1 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.936e-05/1.369, allocations: 14.72 kB / 1.151 GB, free: 298.1 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0256/1.394, allocations: 13.05 MB / 1.163 GB, free: 292.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/1.394, allocations: 1.25 kB / 1.163 GB, free: 292.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003383/1.398, allocations: 1.048 MB / 1.165 GB, free: 292.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003276/1.398, allocations: 91.8 kB / 1.165 GB, free: 292.7 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004758/1.399, allocations: 80.08 kB / 1.165 GB, free: 292.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/1.4, allocations: 1.623 MB / 1.166 GB, free: 291.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.4, allocations: 0 / 1.166 GB, free: 291.2 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01108/1.411, allocations: 6.017 MB / 1.172 GB, free: 289.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002664/1.414, allocations: 1.115 MB / 1.173 GB, free: 289.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008786/1.414, allocations: 80.53 kB / 1.173 GB, free: 289.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003048/1.417, allocations: 0.6127 MB / 1.174 GB, free: 289.1 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003296/1.418, allocations: 201.9 kB / 1.174 GB, free: 289.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002136/1.418, allocations: 120.4 kB / 1.174 GB, free: 289.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.005407/1.423, allocations: 4.957 MB / 1.179 GB, free: 287.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.01e-07/1.423, allocations: 0 / 1.179 GB, free: 287.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.004772/1.428, allocations: 1.325 MB / 1.18 GB, free: 287.3 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.01397/1.442, allocations: 7.323 MB / 1.188 GB, free: 284.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01048/1.453, allocations: 5.923 MB / 1.193 GB, free: 281.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/1.453, allocations: 0.8906 kB / 1.193 GB, free: 281.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.004873/1.458, allocations: 2.936 MB / 1.196 GB, free: 280.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00358/1.461, allocations: 0.6988 MB / 1.197 GB, free: 279.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0694/1.53, allocations: 47.71 MB / 1.243 GB, free: 233.4 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001677/1.532, allocations: 3.031 MB / 1.246 GB, free: 230.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003508/1.536, allocations: 1.256 MB / 1.248 GB, free: 229 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002376/1.538, allocations: 2.096 MB / 1.25 GB, free: 226.9 MB / 0.9167 GB Notification: Performance of SimCode: time 1.753e-06/1.538, allocations: 4 kB / 1.25 GB, free: 226.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1033/1.641, allocations: 95.95 MB / 1.343 GB, free: 131.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/15.83, allocations: 7.797 kB / 1.343 GB, free: 131.3 MB / 0.9167 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_OutsideAir_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=50 --tolerance=1e-06 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: 19.088368891971186] Failed to read output from testmodel.py, exit status != 0: 16.018681877991185 16.032917863 15.24002611 Calling exit ...