Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005734/0.005734, allocations: 100.2 kB / 15.73 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 199.6 kB / 16.68 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8588/0.8588, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 68.23 kB / 0.5808 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1912, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.5831/0.7744, allocations: 161.7 MB / 0.8171 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03852/0.8129, allocations: 27.05 MB / 0.8435 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004466/0.8174, allocations: 79.22 kB / 0.8436 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00288/0.8204, allocations: 1.068 MB / 0.8446 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006083/0.8265, allocations: 1.745 MB / 0.8464 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005211/0.8317, allocations: 1.805 MB / 0.8481 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007613/0.8393, allocations: 5.214 MB / 0.8532 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006745/0.8461, allocations: 4.51 MB / 0.8576 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004753/0.8509, allocations: 2.135 MB / 0.8597 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004085/0.855, allocations: 2.599 MB / 0.8622 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001053/0.856, allocations: 488 kB / 0.8627 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002859/0.8589, allocations: 1.081 MB / 0.8638 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001285/0.8602, allocations: 1.239 MB / 0.865 GB, free: 3.285 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003317/0.8635, allocations: 2.185 MB / 0.8671 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.008895/0.8724, allocations: 6.234 MB / 0.8732 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.8725, allocations: 0 / 0.8732 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of FrontEnd: time 4.278e-06/0.8725, allocations: 11.94 kB / 0.8732 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001646/0.8727, allocations: 0 / 0.8732 GB, free: 10.82 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.01217/0.8848, allocations: 4.869 MB / 0.878 GB, free: 5.871 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.8849, allocations: 8.031 kB / 0.878 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007102/0.8856, allocations: 484.5 kB / 0.8784 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01414/0.8998, allocations: 2.817 MB / 0.8812 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006094/0.9059, allocations: 2.414 MB / 0.8835 GB, free: 68 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002767/0.9062, allocations: 259 kB / 0.8838 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001134/0.9074, allocations: 336 kB / 0.8841 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01335/0.9207, allocations: 5.393 MB / 0.8894 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.708e-05/0.9208, allocations: 3.953 kB / 0.8894 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004215/0.9213, allocations: 140 kB / 0.8895 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.628e-05/0.9213, allocations: 84 kB / 0.8896 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01798/0.9393, allocations: 6.531 MB / 0.896 GB, free: 3.25 MB / 0.6544 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.03195/0.9713, allocations: 15.64 MB / 0.9112 GB, free: 2.992 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01118/0.9825, allocations: 4.08 MB / 0.9152 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007731/0.9903, allocations: 2.659 MB / 0.9178 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001263/0.9916, allocations: 0.6697 MB / 0.9185 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007011/0.9987, allocations: 2.569 MB / 0.921 GB, free: 8.824 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=288): time 6.813e-06/0.9987, allocations: 4 kB / 0.921 GB, free: 8.82 MB / 0.6856 GB Notification: Performance of matching and sorting (n=288): time 0.02476/1.023, allocations: 8.407 MB / 0.9292 GB, free: 304 kB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000168/1.024, allocations: 210.2 kB / 0.9294 GB, free: 48 kB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004288/1.028, allocations: 2.521 MB / 0.9319 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0008967/1.029, allocations: 73.7 kB / 0.9319 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001718/1.031, allocations: 1.458 MB / 0.9334 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001737/1.032, allocations: 1.015 MB / 0.9343 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001117/1.034, allocations: 497 kB / 0.9348 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001588/1.034, allocations: 305.2 kB / 0.9351 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005222/1.039, allocations: 2.046 MB / 0.9371 GB, free: 8.086 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005702/1.045, allocations: 2.363 MB / 0.9394 GB, free: 5.637 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01149/1.056, allocations: 4.402 MB / 0.9437 GB, free: 1.148 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/1.056, allocations: 0 / 0.9437 GB, free: 1.148 MB / 0.7012 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.01443/1.071, allocations: 5.291 MB / 0.9489 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/1.071, allocations: 9.875 kB / 0.9489 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/1.071, allocations: 8.156 kB / 0.9489 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001351/1.072, allocations: 0.5452 MB / 0.9494 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004488/1.077, allocations: 0.78 MB / 0.9502 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009037/1.086, allocations: 5.734 MB / 0.9558 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005078/1.091, allocations: 0.5446 MB / 0.9563 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009815/1.092, allocations: 111.9 kB / 0.9564 GB, free: 3.926 MB / 0.7169 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 (274): * Single equations (assignments): 273 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00317/1.095, allocations: 0.9697 MB / 0.9574 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009826/1.096, allocations: 306 kB / 0.9577 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01476/1.111, allocations: 5.885 MB / 0.9634 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.289e-05/1.111, allocations: 32 kB / 0.9634 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.648e-05/1.111, allocations: 7.984 kB / 0.9635 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.669e-05/1.111, allocations: 15.89 kB / 0.9635 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02213/1.133, allocations: 9.895 MB / 0.9731 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/1.133, allocations: 0 / 0.9731 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004344/1.137, allocations: 0.7488 MB / 0.9739 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001571/1.139, allocations: 0.5332 MB / 0.9744 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006163/1.14, allocations: 75.94 kB / 0.9745 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009882/1.15, allocations: 7.563 MB / 0.9818 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.15, allocations: 0 / 0.9818 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02166/1.171, allocations: 8.423 MB / 0.9901 GB, free: 0.8906 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002627/1.174, allocations: 0.8614 MB / 0.9909 GB, free: 8 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007637/1.175, allocations: 63.97 kB / 0.991 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003357/1.178, allocations: 393.5 kB / 0.9913 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005261/1.179, allocations: 198 kB / 0.9915 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002675/1.179, allocations: 99.92 kB / 0.9916 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002965/1.182, allocations: 1.838 MB / 0.9934 GB, free: 13.42 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.61e-07/1.182, allocations: 0 / 0.9934 GB, free: 13.42 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003566/1.185, allocations: 1.103 MB / 0.9945 GB, free: 12.31 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (260): * Single equations (assignments): 253 * 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 {(4,36,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.02366/1.209, allocations: 9.917 MB / 1.004 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01368/1.223, allocations: 5.081 MB / 1.009 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/1.223, allocations: 4.25 kB / 1.009 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.007348/1.23, allocations: 2.947 MB / 1.012 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003957/1.234, allocations: 0.7288 MB / 1.013 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07061/1.305, allocations: 30.91 MB / 1.043 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003737/1.309, allocations: 2.555 MB / 1.045 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.006079/1.315, allocations: 1.126 MB / 1.047 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004053/1.319, allocations: 1.522 MB / 1.048 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of SimCode: time 1.072e-06/1.319, allocations: 0 / 1.048 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5292/1.848, allocations: 75.21 MB / 1.121 GB, free: 265.2 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.04/20.88, allocations: 0 / 1.121 GB, free: 265.2 MB / 0.8106 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)