Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.SimpleRoomTwoElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",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.001077/0.001077, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001161/0.001161, allocations: 194.5 kB / 16.14 MB, free: 6.707 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.454/1.454, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7489/0.7489, allocations: 132.2 MB / 422.1 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 55.94 kB / 0.5012 GB, free: 4.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5026/0.504, allocations: 80.21 MB / 0.5795 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.199/0.7031, allocations: 158.4 MB / 0.7342 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04087/0.744, allocations: 26.59 MB / 0.7602 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004725/0.7488, allocations: 71.62 kB / 0.7602 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003438/0.7523, allocations: 0.9062 MB / 0.7611 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006645/0.759, allocations: 1.51 MB / 0.7626 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005933/0.7649, allocations: 1.502 MB / 0.7641 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008832/0.7738, allocations: 5.061 MB / 0.769 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007064/0.7809, allocations: 3.833 MB / 0.7728 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004121/0.7851, allocations: 1.661 MB / 0.7744 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004337/0.7894, allocations: 2.298 MB / 0.7766 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001891/0.7914, allocations: 240 kB / 0.7769 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003787/0.7952, allocations: 0.8312 MB / 0.7777 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002098/0.7973, allocations: 0.9497 MB / 0.7786 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004773/0.8021, allocations: 1.806 MB / 0.7804 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009234/0.8114, allocations: 5.511 MB / 0.7857 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.477e-06/0.8114, allocations: 0 / 0.7857 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8114, allocations: 4 kB / 0.7857 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002573/0.8117, allocations: 0 / 0.7857 GB, free: 13.8 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.0145/0.8262, allocations: 4.482 MB / 0.7901 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.8263, allocations: 8.031 kB / 0.7901 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001601/0.8279, allocations: 459 kB / 0.7906 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01364/0.8416, allocations: 2.768 MB / 0.7933 GB, free: 6 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005606/0.8472, allocations: 2.263 MB / 0.7955 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000212/0.8475, allocations: 242.5 kB / 0.7957 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001024/0.8485, allocations: 319.9 kB / 0.796 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01296/0.8615, allocations: 5.14 MB / 0.801 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.35e-05/0.8616, allocations: 0 / 0.801 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004415/0.862, allocations: 139.9 kB / 0.8012 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.227e-05/0.8621, allocations: 84 kB / 0.8012 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01585/0.878, allocations: 6.291 MB / 0.8074 GB, free: 7.367 MB / 0.6387 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.3478/1.226, allocations: 14.51 MB / 0.8216 GB, free: 210.2 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01099/1.237, allocations: 4.505 MB / 0.826 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005229/1.242, allocations: 2.464 MB / 0.8284 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008079/1.243, allocations: 0.6677 MB / 0.829 GB, free: 207.5 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005572/1.248, allocations: 2.457 MB / 0.8314 GB, free: 206.7 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=270): time 5.6e-06/1.249, allocations: 0 / 0.8314 GB, free: 206.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=270): time 0.01803/1.267, allocations: 7.536 MB / 0.8388 GB, free: 202.9 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/1.267, allocations: 211.9 kB / 0.839 GB, free: 202.7 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003207/1.27, allocations: 2.39 MB / 0.8413 GB, free: 201.5 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0007161/1.271, allocations: 73.58 kB / 0.8414 GB, free: 201.5 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001337/1.272, allocations: 1.362 MB / 0.8427 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001426/1.273, allocations: 0.9009 MB / 0.8436 GB, free: 199.6 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009975/1.274, allocations: 478.5 kB / 0.844 GB, free: 199.3 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.615e-05/1.275, allocations: 303.2 kB / 0.8443 GB, free: 199 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004385/1.279, allocations: 1.944 MB / 0.8462 GB, free: 198 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004282/1.283, allocations: 2.27 MB / 0.8484 GB, free: 196.7 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008187/1.291, allocations: 4.206 MB / 0.8526 GB, free: 194.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/1.291, allocations: 7.938 kB / 0.8526 GB, free: 194.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.01053/1.302, allocations: 4.903 MB / 0.8574 GB, free: 189.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/1.302, allocations: 7.984 kB / 0.8574 GB, free: 189.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/1.302, allocations: 4 kB / 0.8574 GB, free: 189.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008161/1.303, allocations: 344.8 kB / 0.8577 GB, free: 189.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003964/1.307, allocations: 0.7676 MB / 0.8584 GB, free: 188.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004229/1.311, allocations: 3.925 MB / 0.8623 GB, free: 184.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004041/1.315, allocations: 0.5354 MB / 0.8628 GB, free: 183.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008105/1.316, allocations: 107.9 kB / 0.8629 GB, free: 183.7 MB / 0.6387 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 (270): * Single equations (assignments): 269 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002831/1.319, allocations: 0.9188 MB / 0.8638 GB, free: 182.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001237/1.32, allocations: 272.6 kB / 0.8641 GB, free: 182.5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0141/1.334, allocations: 5.542 MB / 0.8695 GB, free: 176.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.774e-05/1.334, allocations: 28 kB / 0.8695 GB, free: 176.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.236e-05/1.334, allocations: 8 kB / 0.8695 GB, free: 176.9 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.735e-05/1.334, allocations: 11.95 kB / 0.8695 GB, free: 176.9 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02236/1.357, allocations: 9.317 MB / 0.8786 GB, free: 167.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-05/1.357, allocations: 0 / 0.8786 GB, free: 167.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004056/1.361, allocations: 0.7293 MB / 0.8793 GB, free: 166.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/1.362, allocations: 383.9 kB / 0.8797 GB, free: 166.4 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006741/1.363, allocations: 79.92 kB / 0.8798 GB, free: 166.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005146/1.368, allocations: 5.777 MB / 0.8854 GB, free: 160.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.368, allocations: 7.938 kB / 0.8854 GB, free: 160.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01778/1.386, allocations: 7.915 MB / 0.8931 GB, free: 152.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003062/1.389, allocations: 0.8093 MB / 0.8939 GB, free: 151.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001635/1.391, allocations: 63.78 kB / 0.894 GB, free: 151.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004262/1.395, allocations: 399.4 kB / 0.8944 GB, free: 150.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008756/1.396, allocations: 186 kB / 0.8946 GB, free: 150.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007295/1.396, allocations: 95.92 kB / 0.8947 GB, free: 150.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003052/1.4, allocations: 1.741 MB / 0.8964 GB, free: 148.9 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.352e-06/1.4, allocations: 4 kB / 0.8964 GB, free: 148.9 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004529/1.404, allocations: 1.025 MB / 0.8974 GB, free: 147.9 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 {(3,25,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.01998/1.424, allocations: 9.401 MB / 0.9065 GB, free: 138.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01123/1.435, allocations: 4.761 MB / 0.9112 GB, free: 134.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.435, allocations: 0 / 0.9112 GB, free: 134.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006628/1.442, allocations: 2.758 MB / 0.9139 GB, free: 131.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004502/1.447, allocations: 0.6227 MB / 0.9145 GB, free: 130.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06989/1.516, allocations: 33.4 MB / 0.9471 GB, free: 95.59 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002798/1.519, allocations: 2.448 MB / 0.9495 GB, free: 93.11 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005457/1.525, allocations: 1.107 MB / 0.9506 GB, free: 92 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003057/1.528, allocations: 1.44 MB / 0.952 GB, free: 90.56 MB / 0.6387 GB Notification: Performance of SimCode: time 1.263e-06/1.528, allocations: 3.938 kB / 0.952 GB, free: 90.56 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09352/1.621, allocations: 67.16 MB / 1.018 GB, free: 23.97 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/1.622, allocations: 285.9 kB / 1.018 GB, free: 23.59 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.636/5.258, allocations: 3.828 kB / 1.018 GB, free: 23.59 MB / 0.6387 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)