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.0008403/0.0008403, 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.0008736/0.0008736, 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.9/0.9, allocations: 230.6 MB / 256 MB, free: 9.602 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.7507/0.7507, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.001294/0.001294, allocations: 62.81 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4971/0.4984, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.OutsideAir): time 0.1499/0.6484, allocations: 151 MB / 0.9652 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01457/0.6629, allocations: 11.95 MB / 0.9769 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001807/0.6647, allocations: 55.62 kB / 0.977 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002485/0.6672, allocations: 1.193 MB / 0.9781 GB, free: 0.9375 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.005606/0.6728, allocations: 2.36 MB / 0.9804 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.003835/0.6767, allocations: 1.891 MB / 0.9823 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.006323/0.683, allocations: 6.48 MB / 0.9886 GB, free: 6.199 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005039/0.688, allocations: 4.1 MB / 0.9926 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00508/0.6931, allocations: 2.835 MB / 0.9954 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004482/0.6976, allocations: 2.849 MB / 0.9982 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.001767/0.6993, allocations: 0.5977 MB / 0.9988 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004368/0.7037, allocations: 2.036 MB / 1.001 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.002085/0.7058, allocations: 1.706 MB / 1.002 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.003205/0.709, allocations: 2.27 MB / 1.005 GB, free: 5.676 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.009057/0.7181, allocations: 8.349 MB / 1.013 GB, free: 13.3 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.7181, allocations: 4 kB / 1.013 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7181, allocations: 0 / 1.013 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.00023/0.7183, allocations: 0 / 1.013 GB, free: 13.29 MB / 0.7917 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.01004/0.7283, allocations: 6.114 MB / 1.019 GB, free: 7.094 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.7284, allocations: 8.031 kB / 1.019 GB, free: 7.086 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005985/0.729, allocations: 0.5514 MB / 1.019 GB, free: 6.527 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01306/0.7421, allocations: 3.828 MB / 1.023 GB, free: 2.691 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009408/0.7515, allocations: 5.329 MB / 1.028 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002393/0.7517, allocations: 312.1 kB / 1.029 GB, free: 13 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001372/0.7531, allocations: 392 kB / 1.029 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01329/0.7664, allocations: 7.244 MB / 1.036 GB, free: 5.047 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-05/0.7664, allocations: 0 / 1.036 GB, free: 5.047 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004657/0.7669, allocations: 172 kB / 1.036 GB, free: 4.879 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.286e-05/0.7669, allocations: 100 kB / 1.036 GB, free: 4.781 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01455/0.7815, allocations: 7.497 MB / 1.044 GB, free: 13.28 MB / 0.823 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.02826/0.8097, allocations: 16.56 MB / 1.06 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009943/0.8197, allocations: 5.544 MB / 1.065 GB, free: 6.379 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005125/0.8248, allocations: 2.801 MB / 1.068 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005584/0.8254, allocations: 250.4 kB / 1.068 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005934/0.8313, allocations: 4.03 MB / 1.072 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=287): time 6.793e-06/0.8313, allocations: 0 / 1.072 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=287): time 0.01691/0.8482, allocations: 8.801 MB / 1.081 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.279e-05/0.8483, allocations: 214.2 kB / 1.081 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00598/0.8543, allocations: 6.406 MB / 1.087 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006957/0.855, allocations: 77.7 kB / 1.087 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001625/0.8566, allocations: 2.04 MB / 1.089 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001228/0.8578, allocations: 1.003 MB / 1.09 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008817/0.8587, allocations: 0.607 MB / 1.091 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.721e-05/0.8588, allocations: 305.1 kB / 1.091 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004808/0.8636, allocations: 2.71 MB / 1.094 GB, free: 8.82 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005797/0.8694, allocations: 3.235 MB / 1.097 GB, free: 5.441 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/0.8795, allocations: 5.483 MB / 1.102 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.8795, allocations: 0 / 1.102 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of matching and sorting (n=351) (initialization): time 0.01209/0.8916, allocations: 6.378 MB / 1.108 GB, free: 9.418 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.8916, allocations: 8 kB / 1.108 GB, free: 9.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.8916, allocations: 4 kB / 1.108 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003588/0.892, allocations: 101.4 kB / 1.109 GB, free: 9.305 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003847/0.8958, allocations: 1.17 MB / 1.11 GB, free: 8.133 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.8974, allocations: 1.596 MB / 1.111 GB, free: 6.418 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003598/0.901, allocations: 0.7826 MB / 1.112 GB, free: 5.633 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004627/0.9014, allocations: 151.8 kB / 1.112 GB, free: 5.484 MB / 0.8855 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.002645/0.9041, allocations: 1.321 MB / 1.113 GB, free: 4.156 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/0.9052, allocations: 417.3 kB / 1.114 GB, free: 3.746 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0128/0.918, allocations: 6.808 MB / 1.12 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/0.918, allocations: 32 kB / 1.121 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.918, allocations: 0 / 1.121 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.441e-05/0.918, allocations: 15.94 kB / 1.121 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01977/0.9378, allocations: 12.2 MB / 1.132 GB, free: 132 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.9378, allocations: 3.938 kB / 1.132 GB, free: 128 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002835/0.9406, allocations: 1.026 MB / 1.133 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002783/0.9409, allocations: 80.78 kB / 1.134 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002093/0.9411, allocations: 83.92 kB / 1.134 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/0.9425, allocations: 1.609 MB / 1.135 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9425, allocations: 144 / 1.135 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0107/0.9532, allocations: 5.97 MB / 1.141 GB, free: 7.168 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002212/0.9554, allocations: 1.096 MB / 1.142 GB, free: 6.066 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005605/0.956, allocations: 71.78 kB / 1.142 GB, free: 5.996 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002726/0.9587, allocations: 0.595 MB / 1.143 GB, free: 5.402 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003025/0.959, allocations: 206 kB / 1.143 GB, free: 5.199 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002152/0.9592, allocations: 123.9 kB / 1.143 GB, free: 5.078 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.005213/0.9645, allocations: 4.867 MB / 1.148 GB, free: 204 kB / 0.9167 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9645, allocations: 0 / 1.148 GB, free: 204 kB / 0.9167 GB Notification: Performance of remove unused functions: time 0.3675/1.332, allocations: 1.31 MB / 1.149 GB, free: 298.7 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.01421/1.346, allocations: 7.292 MB / 1.156 GB, free: 297 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.013/1.359, allocations: 5.867 MB / 1.162 GB, free: 295.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/1.359, allocations: 7.078 kB / 1.162 GB, free: 295.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.005673/1.365, allocations: 2.906 MB / 1.165 GB, free: 294.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002983/1.368, allocations: 0.7008 MB / 1.165 GB, free: 294.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06591/1.434, allocations: 46.88 MB / 1.211 GB, free: 265.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001589/1.435, allocations: 2.485 MB / 1.214 GB, free: 262.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003833/1.439, allocations: 1.253 MB / 1.215 GB, free: 261.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003164/1.442, allocations: 2.104 MB / 1.217 GB, free: 259.4 MB / 0.9167 GB Notification: Performance of SimCode: time 2.024e-06/1.442, allocations: 0 / 1.217 GB, free: 259.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1004/1.543, allocations: 96.65 MB / 1.311 GB, free: 163.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/12.04, allocations: 6.719 kB / 1.311 GB, free: 163.3 MB / 0.9167 GB " [Timeout remaining time 648] (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: 15.084295575972646] Failed to read output from testmodel.py, exit status != 0: 12.221179698128253 12.22701296 11.507371093 Calling exit ...