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.0008319/0.0008319, allocations: 105.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.0009899/0.0009899, allocations: 211.6 kB / 22.25 MB, free: 3.586 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.9428/0.9428, allocations: 230.6 MB / 256 MB, free: 9.434 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.7567/0.7567, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.0008781/0.0008781, allocations: 66.45 kB / 0.7182 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4784/0.4793, allocations: 102 MB / 0.8178 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.OutsideAir): time 0.1353/0.6146, allocations: 151 MB / 0.9653 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01383/0.6284, allocations: 11.95 MB / 0.9769 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001549/0.63, allocations: 55.62 kB / 0.977 GB, free: 2.062 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001995/0.632, allocations: 1.189 MB / 0.9781 GB, free: 0.8672 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.004226/0.6362, allocations: 2.362 MB / 0.9804 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002948/0.6391, allocations: 1.884 MB / 0.9823 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.004927/0.6441, allocations: 6.484 MB / 0.9886 GB, free: 6.129 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004349/0.6484, allocations: 4.092 MB / 0.9926 GB, free: 1.934 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003841/0.6523, allocations: 2.848 MB / 0.9954 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0034/0.6557, allocations: 2.849 MB / 0.9982 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0009896/0.6566, allocations: 0.5938 MB / 0.9988 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003837/0.6605, allocations: 2.036 MB / 1.001 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001617/0.6621, allocations: 1.706 MB / 1.002 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.003442/0.6655, allocations: 2.274 MB / 1.005 GB, free: 5.605 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.009642/0.6752, allocations: 8.353 MB / 1.013 GB, free: 13.22 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.6752, allocations: 4 kB / 1.013 GB, free: 13.22 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.345e-06/0.6752, allocations: 0 / 1.013 GB, free: 13.22 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002533/0.6754, allocations: 0 / 1.013 GB, free: 13.22 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.009125/0.6846, allocations: 6.114 MB / 1.019 GB, free: 7.02 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.6846, allocations: 8.031 kB / 1.019 GB, free: 7.012 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006073/0.6852, allocations: 0.5475 MB / 1.019 GB, free: 6.457 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01277/0.698, allocations: 3.832 MB / 1.023 GB, free: 2.617 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006511/0.7045, allocations: 5.333 MB / 1.028 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001681/0.7047, allocations: 312.1 kB / 1.029 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004966/0.7052, allocations: 392 kB / 1.029 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01159/0.7168, allocations: 7.243 MB / 1.036 GB, free: 4.969 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-05/0.7168, allocations: 0 / 1.036 GB, free: 4.969 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003796/0.7172, allocations: 168 kB / 1.036 GB, free: 4.805 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.586e-05/0.7173, allocations: 104 kB / 1.036 GB, free: 4.703 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01398/0.7312, allocations: 7.493 MB / 1.044 GB, free: 13.2 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.02417/0.7554, allocations: 16.56 MB / 1.06 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009377/0.7648, allocations: 5.536 MB / 1.065 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005467/0.7702, allocations: 2.805 MB / 1.068 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005607/0.7708, allocations: 250.4 kB / 1.068 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006425/0.7772, allocations: 4.025 MB / 1.072 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=287): time 5.941e-06/0.7772, allocations: 4 kB / 1.072 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of matching and sorting (n=287): time 0.01643/0.7937, allocations: 8.801 MB / 1.081 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.346e-05/0.7938, allocations: 210.2 kB / 1.081 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006489/0.8002, allocations: 6.409 MB / 1.087 GB, free: 15.53 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007297/0.801, allocations: 81.64 kB / 1.087 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001586/0.8026, allocations: 2.037 MB / 1.089 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001065/0.8036, allocations: 1.007 MB / 1.09 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008042/0.8044, allocations: 0.607 MB / 1.091 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.139e-05/0.8045, allocations: 301.1 kB / 1.091 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004723/0.8092, allocations: 2.707 MB / 1.094 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005261/0.8145, allocations: 3.246 MB / 1.097 GB, free: 5.363 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/0.8245, allocations: 5.474 MB / 1.102 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.39e-05/0.8245, allocations: 7.938 kB / 1.102 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of matching and sorting (n=351) (initialization): time 0.01297/0.8375, allocations: 6.372 MB / 1.108 GB, free: 9.344 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.8375, allocations: 8 kB / 1.108 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.8375, allocations: 8 kB / 1.108 GB, free: 9.328 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003493/0.8379, allocations: 101.4 kB / 1.109 GB, free: 9.227 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003287/0.8412, allocations: 1.166 MB / 1.11 GB, free: 8.059 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.8427, allocations: 1.597 MB / 1.111 GB, free: 6.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003457/0.8462, allocations: 0.7826 MB / 1.112 GB, free: 5.555 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003286/0.8465, allocations: 147.8 kB / 1.112 GB, free: 5.41 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.002465/0.849, allocations: 1.32 MB / 1.113 GB, free: 4.082 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/0.85, allocations: 417.3 kB / 1.114 GB, free: 3.672 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/0.8612, allocations: 6.815 MB / 1.121 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/0.8612, allocations: 28 kB / 1.121 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.8612, allocations: 3.984 kB / 1.121 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.875e-05/0.8612, allocations: 15.89 kB / 1.121 GB, free: 12.76 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01863/0.8799, allocations: 12.19 MB / 1.132 GB, free: 56 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.8799, allocations: 3.938 kB / 1.132 GB, free: 52 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003388/0.8833, allocations: 1.03 MB / 1.133 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003626/0.8836, allocations: 84.78 kB / 1.134 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003697/0.884, allocations: 79.94 kB / 1.134 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/0.8853, allocations: 1.602 MB / 1.135 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.8853, allocations: 3.938 kB / 1.135 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/0.8962, allocations: 5.962 MB / 1.141 GB, free: 7.102 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00212/0.8983, allocations: 1.092 MB / 1.142 GB, free: 6.004 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004934/0.8988, allocations: 79.78 kB / 1.142 GB, free: 5.926 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002532/0.9014, allocations: 0.5971 MB / 1.143 GB, free: 5.328 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002672/0.9016, allocations: 202 kB / 1.143 GB, free: 5.129 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001991/0.9018, allocations: 123.9 kB / 1.143 GB, free: 5.008 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.004427/0.9062, allocations: 4.864 MB / 1.148 GB, free: 136 kB / 0.9167 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9062, allocations: 4 kB / 1.148 GB, free: 132 kB / 0.9167 GB Notification: Performance of remove unused functions: time 0.3798/1.286, allocations: 1.311 MB / 1.149 GB, free: 298.8 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.01385/1.3, allocations: 7.29 MB / 1.156 GB, free: 297.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01297/1.313, allocations: 5.873 MB / 1.162 GB, free: 295.6 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/1.313, allocations: 2.234 kB / 1.162 GB, free: 295.6 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.005979/1.319, allocations: 2.907 MB / 1.165 GB, free: 294.8 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002814/1.322, allocations: 0.7071 MB / 1.165 GB, free: 294.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06851/1.39, allocations: 46.87 MB / 1.211 GB, free: 265.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001541/1.392, allocations: 2.497 MB / 1.214 GB, free: 262.6 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003251/1.395, allocations: 1.241 MB / 1.215 GB, free: 261.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002096/1.397, allocations: 2.104 MB / 1.217 GB, free: 259.3 MB / 0.9167 GB Notification: Performance of SimCode: time 2.224e-06/1.397, allocations: 0 / 1.217 GB, free: 259.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09478/1.492, allocations: 96.65 MB / 1.311 GB, free: 163.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/12.02, allocations: 8.047 kB / 1.311 GB, free: 163.1 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 & /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: 15.076564530842006] Failed to read output from testmodel.py, exit status != 0: 12.204771917778999 12.215804127 11.538276404 Calling exit ...