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.001274/0.001274, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.00163/0.00163, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.042/1.042, allocations: 177.1 MB / 203.8 MB, free: 5.602 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-535:34: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-535:42: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.7588/0.7588, allocations: 154.8 MB / 415.1 MB, free: 468 kB / 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: translateModel(IDEAS.Fluid.Sources.Examples.OutsideAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideAir") translateModel(IDEAS.Fluid.Sources.Examples.OutsideAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 0.5206 GB, free: 2.273 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.849e-05/3.048e-05, allocations: 2.312 kB / 0.5206 GB, free: 2.27 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.OutsideAir): time 0.457/0.457, allocations: 167.1 MB / 0.6838 GB, free: 47.33 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01456/0.4716, allocations: 12.83 MB / 0.6963 GB, free: 47.16 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001891/0.4735, allocations: 53.91 kB / 0.6964 GB, free: 47.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002315/0.4758, allocations: 1.207 MB / 0.6975 GB, free: 47.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005777/0.4816, allocations: 2.404 MB / 0.6999 GB, free: 47.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004003/0.4856, allocations: 1.888 MB / 0.7017 GB, free: 47.04 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006534/0.4921, allocations: 6.608 MB / 0.7082 GB, free: 46.19 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005602/0.4977, allocations: 4.255 MB / 0.7123 GB, free: 45.71 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007241/0.5049, allocations: 3.952 MB / 0.7162 GB, free: 45.43 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004351/0.5093, allocations: 2.551 MB / 0.7187 GB, free: 45.23 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.002024/0.5113, allocations: 0.5973 MB / 0.7193 GB, free: 45.23 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005204/0.5165, allocations: 2.05 MB / 0.7213 GB, free: 45.14 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002596/0.5191, allocations: 1.736 MB / 0.723 GB, free: 44.89 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.005358/0.5245, allocations: 1.839 MB / 0.7248 GB, free: 44.67 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01173/0.5362, allocations: 5.675 MB / 0.7303 GB, free: 43.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5362, allocations: 0 / 0.7303 GB, free: 43.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5362, allocations: 1.062 kB / 0.7303 GB, free: 43.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003197/0.5365, allocations: 0 / 0.7303 GB, free: 43.23 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: 1040 * Number of variables: 1040 Notification: Performance of Generate backend data structure: time 0.01567/0.5522, allocations: 6.138 MB / 0.7363 GB, free: 39.64 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.5522, allocations: 8.125 kB / 0.7363 GB, free: 39.64 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01323/0.5655, allocations: 3.437 MB / 0.7397 GB, free: 38.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00638/0.5719, allocations: 3.009 MB / 0.7426 GB, free: 37.43 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002402/0.5721, allocations: 310.1 kB / 0.7429 GB, free: 37.29 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001124/0.5732, allocations: 405.9 kB / 0.7433 GB, free: 37.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008547/0.5818, allocations: 4.767 MB / 0.7479 GB, free: 34.95 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.95e-05/0.5818, allocations: 2.906 kB / 0.7479 GB, free: 34.95 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004549/0.5823, allocations: 171.4 kB / 0.7481 GB, free: 34.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-05/0.5824, allocations: 98.59 kB / 0.7482 GB, free: 34.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00536/0.5877, allocations: 2.868 MB / 0.751 GB, free: 34.45 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02209/0.6098, allocations: 14.18 MB / 0.7649 GB, free: 25.47 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005096/0.6149, allocations: 2.459 MB / 0.7673 GB, free: 24.98 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/0.6164, allocations: 0.9666 MB / 0.7682 GB, free: 24.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000589/0.617, allocations: 270.2 kB / 0.7685 GB, free: 24.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002517/0.6195, allocations: 2.197 MB / 0.7706 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=287): time 8.316e-06/0.6195, allocations: 0 / 0.7706 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=287): time 0.007456/0.627, allocations: 3.472 MB / 0.774 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.051e-05/0.627, allocations: 209.1 kB / 0.7742 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004721/0.6318, allocations: 2.887 MB / 0.777 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0006157/0.6324, allocations: 81.08 kB / 0.7771 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001571/0.634, allocations: 2.11 MB / 0.7791 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001091/0.635, allocations: 1.012 MB / 0.7801 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001059/0.6361, allocations: 0.6402 MB / 0.7808 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.007e-05/0.6362, allocations: 476.8 kB / 0.7812 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/0.6377, allocations: 0.8094 MB / 0.782 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/0.6394, allocations: 1.425 MB / 0.7834 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002884/0.6423, allocations: 1.942 MB / 0.7853 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/0.6423, allocations: 3.625 kB / 0.7853 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.005967/0.6483, allocations: 2.877 MB / 0.7881 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/0.6483, allocations: 9.656 kB / 0.7881 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.6483, allocations: 3 kB / 0.7881 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006096/0.649, allocations: 147.2 kB / 0.7883 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002447/0.6514, allocations: 0.9232 MB / 0.7892 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.6528, allocations: 1.942 MB / 0.7911 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002915/0.6557, allocations: 487.3 kB / 0.7915 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00026/0.656, allocations: 153.3 kB / 0.7917 GB, free: 13.72 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 23 (sim.weaDat.conTim.canRepeatWeatherFile,sim.weaDat.conTimMin.canRepeatWeatherFile,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 (357): * Single equations (assignments): 356 * 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.001888/0.6578, allocations: 321.4 kB / 0.792 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001391/0.6592, allocations: 0.517 MB / 0.7925 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005938/0.6652, allocations: 3.394 MB / 0.7958 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.6652, allocations: 29.94 kB / 0.7958 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.6652, allocations: 0 / 0.7958 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-05/0.6652, allocations: 16.88 kB / 0.7958 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01174/0.677, allocations: 8.033 MB / 0.8037 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.096e-06/0.677, allocations: 0 / 0.8037 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001999/0.679, allocations: 0.7879 MB / 0.8045 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003969/0.6794, allocations: 119.6 kB / 0.8046 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001874/0.6796, allocations: 87.86 kB / 0.8047 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/0.6806, allocations: 1.931 MB / 0.8065 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.6806, allocations: 4.031 kB / 0.8065 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004785/0.6853, allocations: 2.904 MB / 0.8094 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001743/0.6871, allocations: 0.948 MB / 0.8103 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005514/0.6876, allocations: 79.78 kB / 0.8104 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001761/0.6894, allocations: 313.6 kB / 0.8107 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003374/0.6897, allocations: 210 kB / 0.8109 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002206/0.69, allocations: 119.9 kB / 0.811 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002982/0.6929, allocations: 1.741 MB / 0.8127 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8e-08/0.6929, allocations: 7.188 kB / 0.8127 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004515/0.6975, allocations: 1.348 MB / 0.814 GB, free: 11.07 MB / 0.6511 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.002566/0.7, allocations: 0.8739 MB / 0.8149 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005029/0.7051, allocations: 2.517 MB / 0.8173 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.7051, allocations: 4.891 kB / 0.8173 GB, free: 7.953 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002151/0.7072, allocations: 1.448 MB / 0.8187 GB, free: 6.539 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003342/0.7106, allocations: 0.7864 MB / 0.8195 GB, free: 5.789 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0161/0.7266, allocations: 7.954 MB / 0.8273 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/0.7278, allocations: 1.062 MB / 0.8283 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.004505/0.7324, allocations: 0.999 MB / 0.8293 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001563/0.7339, allocations: 372.2 kB / 0.8297 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of SimCode: time 1.583e-06/0.7339, allocations: 4 kB / 0.8297 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of Templates: time 0.08385/0.8178, allocations: 57.46 MB / 0.8858 GB, free: 2.617 MB / 0.7136 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideAir.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideAir -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.OutsideAir.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.1834399830549955]