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.007826/0.007826, allocations: 102.6 kB / 15.73 MB, free: 5.984 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.001879/0.001879, allocations: 198.6 kB / 16.68 MB, free: 5.91 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7591/0.7591, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 70.98 kB / 0.5808 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1527, allocations: 80.21 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.6042/0.7569, allocations: 161.7 MB / 0.8171 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03351/0.7904, allocations: 27.05 MB / 0.8435 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00394/0.7944, allocations: 78.94 kB / 0.8436 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00261/0.7971, allocations: 1.074 MB / 0.8446 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005377/0.8025, allocations: 1.785 MB / 0.8464 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004264/0.8067, allocations: 1.805 MB / 0.8481 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006506/0.8133, allocations: 5.22 MB / 0.8532 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005255/0.8185, allocations: 4.524 MB / 0.8577 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003769/0.8223, allocations: 2.171 MB / 0.8598 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003481/0.8258, allocations: 2.588 MB / 0.8623 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0008866/0.8267, allocations: 488 kB / 0.8628 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002292/0.829, allocations: 1.085 MB / 0.8638 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001018/0.8301, allocations: 1.25 MB / 0.8651 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002411/0.8325, allocations: 2.181 MB / 0.8672 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007098/0.8396, allocations: 6.208 MB / 0.8732 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.8396, allocations: 8 kB / 0.8733 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.286e-06/0.8396, allocations: 0 / 0.8733 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001473/0.8398, allocations: 3.938 kB / 0.8733 GB, free: 10.74 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.009382/0.8492, allocations: 4.738 MB / 0.8779 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.8492, allocations: 11.97 kB / 0.8779 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005738/0.8498, allocations: 484.5 kB / 0.8784 GB, free: 5.434 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01228/0.8621, allocations: 2.795 MB / 0.8811 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004563/0.8667, allocations: 2.4 MB / 0.8834 GB, free: 156 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001988/0.8669, allocations: 255 kB / 0.8837 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006453/0.8676, allocations: 339.9 kB / 0.884 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01042/0.878, allocations: 5.385 MB / 0.8893 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.934e-05/0.8781, allocations: 4 kB / 0.8893 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003503/0.8784, allocations: 140 kB / 0.8894 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.907e-05/0.8785, allocations: 84 kB / 0.8895 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01527/0.8938, allocations: 6.527 MB / 0.8959 GB, free: 3.352 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.0316/0.9254, allocations: 15.61 MB / 0.9111 GB, free: 3.121 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009874/0.9353, allocations: 4.08 MB / 0.9151 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005518/0.9409, allocations: 2.659 MB / 0.9177 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001097/0.942, allocations: 0.6736 MB / 0.9183 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005826/0.9479, allocations: 2.577 MB / 0.9208 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=288): time 6.071e-06/0.9479, allocations: 0 / 0.9208 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of matching and sorting (n=288): time 0.0224/0.9703, allocations: 8.386 MB / 0.929 GB, free: 448 kB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/0.9705, allocations: 214.2 kB / 0.9292 GB, free: 188 kB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0046/0.9751, allocations: 2.513 MB / 0.9317 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0005833/0.9757, allocations: 73.7 kB / 0.9318 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001382/0.9771, allocations: 1.443 MB / 0.9332 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001319/0.9784, allocations: 0.9625 MB / 0.9341 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001505/0.98, allocations: 0.4892 MB / 0.9346 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.594e-05/0.9801, allocations: 305.1 kB / 0.9349 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004822/0.9849, allocations: 2.034 MB / 0.9369 GB, free: 8.297 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005176/0.9901, allocations: 2.367 MB / 0.9392 GB, free: 5.844 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009833/1, allocations: 4.405 MB / 0.9435 GB, free: 1.352 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.481e-05/1, allocations: 0 / 0.9435 GB, free: 1.352 MB / 0.7012 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.01291/1.013, allocations: 5.278 MB / 0.9486 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/1.013, allocations: 10.19 kB / 0.9486 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/1.013, allocations: 8 kB / 0.9487 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/1.014, allocations: 0.5452 MB / 0.9492 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003892/1.018, allocations: 0.7761 MB / 0.9499 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007985/1.026, allocations: 5.725 MB / 0.9555 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003881/1.03, allocations: 0.5401 MB / 0.9561 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000744/1.031, allocations: 103.9 kB / 0.9562 GB, free: 4.164 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.002656/1.034, allocations: 0.9735 MB / 0.9571 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/1.035, allocations: 292.4 kB / 0.9574 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01412/1.049, allocations: 5.877 MB / 0.9631 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.415e-05/1.049, allocations: 32 kB / 0.9632 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.025e-05/1.049, allocations: 7.938 kB / 0.9632 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.613e-05/1.049, allocations: 19.88 kB / 0.9632 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02042/1.069, allocations: 9.902 MB / 0.9729 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/1.069, allocations: 0 / 0.9729 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003752/1.073, allocations: 0.7449 MB / 0.9736 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001509/1.075, allocations: 0.5332 MB / 0.9741 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005992/1.075, allocations: 79.92 kB / 0.9742 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009075/1.084, allocations: 7.554 MB / 0.9816 GB, free: 9.652 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.085, allocations: 0 / 0.9816 GB, free: 9.652 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01973/1.104, allocations: 8.405 MB / 0.9898 GB, free: 1.156 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002191/1.106, allocations: 0.8365 MB / 0.9906 GB, free: 304 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009083/1.107, allocations: 67.89 kB / 0.9907 GB, free: 236 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003307/1.111, allocations: 401.4 kB / 0.991 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005984/1.111, allocations: 190.1 kB / 0.9912 GB, free: 15.65 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003899/1.112, allocations: 95.94 kB / 0.9913 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003103/1.115, allocations: 1.834 MB / 0.9931 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.41e-07/1.115, allocations: 0 / 0.9931 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00352/1.118, allocations: 1.106 MB / 0.9942 GB, free: 12.61 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.02096/1.139, allocations: 9.895 MB / 1.004 GB, free: 3.02 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.012/1.151, allocations: 5.081 MB / 1.009 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.151, allocations: 0 / 1.009 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.006608/1.158, allocations: 2.943 MB / 1.012 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004013/1.162, allocations: 0.7251 MB / 1.012 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06603/1.228, allocations: 30.78 MB / 1.042 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003861/1.232, allocations: 2.551 MB / 1.045 GB, free: 8.555 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.004926/1.237, allocations: 1.125 MB / 1.046 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003185/1.24, allocations: 1.518 MB / 1.048 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of SimCode: time 9.91e-07/1.24, allocations: 0 / 1.048 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4797/1.72, allocations: 75.2 MB / 1.121 GB, free: 265.7 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.29/20.01, allocations: 0 / 1.121 GB, free: 265.7 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)