Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.001705/0.001705, allocations: 101.9 kB / 19.73 MB, free: 2.109 MB / 14.72 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.002145/0.002145, allocations: 222.5 kB / 23.03 MB, free: 4.906 MB / 14.72 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8821/0.8821, allocations: 134 MB / 447.2 MB, free: 9.969 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="cs",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.002728/0.002728, allocations: 70.36 kB / 0.6192 GB, free: 6.938 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1694, allocations: 85.92 MB / 0.7031 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.6267/0.7961, allocations: 141.3 MB / 0.8411 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03727/0.8334, allocations: 24.35 MB / 0.8648 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003003/0.8364, allocations: 95.31 kB / 0.8649 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002652/0.8391, allocations: 0.9908 MB / 0.8659 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005442/0.8445, allocations: 1.691 MB / 0.8676 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004679/0.8492, allocations: 1.64 MB / 0.8692 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006782/0.856, allocations: 4.617 MB / 0.8737 GB, free: 4.309 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004979/0.8609, allocations: 2.999 MB / 0.8766 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004392/0.8653, allocations: 2.023 MB / 0.8786 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005131/0.8705, allocations: 2.421 MB / 0.8809 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001388/0.8718, allocations: 428 kB / 0.8813 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003313/0.8752, allocations: 1.019 MB / 0.8823 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001525/0.8767, allocations: 1.118 MB / 0.8834 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002786/0.8795, allocations: 1.571 MB / 0.885 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008933/0.8884, allocations: 5.63 MB / 0.8905 GB, free: 3 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.8884, allocations: 0 / 0.8905 GB, free: 3 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8884, allocations: 0 / 0.8905 GB, free: 3 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001297/0.8885, allocations: 0 / 0.8905 GB, free: 3 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.01048/0.899, allocations: 4.373 MB / 0.8947 GB, free: 14.57 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.8991, allocations: 15.97 kB / 0.8947 GB, free: 14.55 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001057/0.8992, allocations: 78.19 kB / 0.8948 GB, free: 14.47 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006657/0.8998, allocations: 438.2 kB / 0.8952 GB, free: 14.03 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01715/0.917, allocations: 3.122 MB / 0.8983 GB, free: 10.9 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005556/0.9225, allocations: 2.199 MB / 0.9004 GB, free: 8.637 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002896/0.9228, allocations: 234.1 kB / 0.9007 GB, free: 8.406 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001222/0.924, allocations: 300 kB / 0.9009 GB, free: 8.113 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01451/0.9386, allocations: 5.297 MB / 0.9061 GB, free: 2.652 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.653e-05/0.9387, allocations: 0 / 0.9061 GB, free: 2.652 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000786/0.9394, allocations: 131.9 kB / 0.9062 GB, free: 2.523 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-05/0.9395, allocations: 76 kB / 0.9063 GB, free: 2.449 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01639/0.9559, allocations: 6.115 MB / 0.9123 GB, free: 12.32 MB / 0.6856 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.0302/0.9861, allocations: 11.3 MB / 0.9233 GB, free: 0.8828 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/0.9972, allocations: 4.149 MB / 0.9274 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005571/1.003, allocations: 2.155 MB / 0.9295 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008214/1.004, allocations: 137.9 kB / 0.9296 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005938/1.01, allocations: 2.5 MB / 0.9321 GB, free: 7.867 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=257): time 5e-06/1.01, allocations: 3.938 kB / 0.9321 GB, free: 7.863 MB / 0.7012 GB Notification: Performance of matching and sorting (n=257): time 0.01825/1.028, allocations: 6.726 MB / 0.9386 GB, free: 1.07 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001628/1.028, allocations: 213.9 kB / 0.9388 GB, free: 0.8164 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004691/1.033, allocations: 2.356 MB / 0.9411 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0007171/1.033, allocations: 77.7 kB / 0.9412 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001682/1.035, allocations: 1.34 MB / 0.9425 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.00156/1.037, allocations: 0.8909 MB / 0.9434 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001872/1.038, allocations: 460.1 kB / 0.9438 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.039, allocations: 301.1 kB / 0.9441 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004929/1.044, allocations: 1.878 MB / 0.9459 GB, free: 9.457 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005337/1.049, allocations: 2.389 MB / 0.9483 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/1.059, allocations: 4.041 MB / 0.9522 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.289e-05/1.059, allocations: 7.938 kB / 0.9522 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01304/1.072, allocations: 4.66 MB / 0.9568 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/1.072, allocations: 14.12 kB / 0.9568 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/1.072, allocations: 7.938 kB / 0.9568 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007058/1.073, allocations: 224.7 kB / 0.957 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00418/1.077, allocations: 0.7762 MB / 0.9578 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004785/1.082, allocations: 3.223 MB / 0.9609 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004035/1.086, allocations: 0.5253 MB / 0.9614 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006927/1.087, allocations: 107.8 kB / 0.9615 GB, free: 9.09 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.intGai.nextTimeEvent,$whenCondition1,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 263 * 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): 1 system {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002651/1.089, allocations: 0.8838 MB / 0.9624 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/1.09, allocations: 278.2 kB / 0.9627 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01489/1.105, allocations: 5.282 MB / 0.9678 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-05/1.105, allocations: 28 kB / 0.9678 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/1.105, allocations: 7.984 kB / 0.9679 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.919e-05/1.105, allocations: 15.89 kB / 0.9679 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02205/1.127, allocations: 8.394 MB / 0.9761 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/1.127, allocations: 4 kB / 0.9761 GB, free: 10 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004306/1.132, allocations: 0.7293 MB / 0.9768 GB, free: 9.273 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/1.133, allocations: 262.3 kB / 0.977 GB, free: 9.008 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007513/1.133, allocations: 71.94 kB / 0.9771 GB, free: 8.938 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005803/1.139, allocations: 4.994 MB / 0.982 GB, free: 3.699 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.139, allocations: 0 / 0.982 GB, free: 3.699 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0188/1.158, allocations: 7.57 MB / 0.9894 GB, free: 12.03 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002279/1.16, allocations: 0.7414 MB / 0.9901 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008446/1.161, allocations: 59.89 kB / 0.9902 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003356/1.165, allocations: 393.3 kB / 0.9905 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000544/1.165, allocations: 169.8 kB / 0.9907 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003764/1.165, allocations: 95.92 kB / 0.9908 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003127/1.169, allocations: 1.732 MB / 0.9925 GB, free: 8.836 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.31e-07/1.169, allocations: 0 / 0.9925 GB, free: 8.836 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003795/1.172, allocations: 0.9742 MB / 0.9934 GB, free: 7.859 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,16,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02344/1.196, allocations: 9.121 MB / 1.002 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01271/1.209, allocations: 4.432 MB / 1.007 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/1.209, allocations: 4 kB / 1.007 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.006185/1.215, allocations: 2.495 MB / 1.009 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003099/1.218, allocations: 0.6381 MB / 1.01 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06137/1.279, allocations: 27.84 MB / 1.037 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002131/1.281, allocations: 1.835 MB / 1.039 GB, free: 9.371 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003875/1.285, allocations: 1.086 MB / 1.04 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002637/1.288, allocations: 1.39 MB / 1.041 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of SimCode: time 2.154e-06/1.288, allocations: 3.938 kB / 1.041 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5306/1.819, allocations: 70.89 MB / 1.11 GB, free: 190.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.93/20.74, allocations: 9.781 kB / 1.11 GB, free: 190.6 MB / 0.8262 GB " [Timeout remaining time 639] (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 24.87054849101696] Failed to read output from testmodel.py, exit status != 0: 21.07028127310332 21.081477125 20.190411904 Calling exit ...