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.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.SimpleRoomOneElement,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",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.001159/0.001159, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8096/0.8096, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 60.03 kB / 0.5019 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4851/0.4867, allocations: 80.21 MB / 0.5802 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1956/0.6824, allocations: 160.1 MB / 0.7366 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03698/0.7194, allocations: 26.6 MB / 0.7625 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005011/0.7245, allocations: 71.62 kB / 0.7626 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002715/0.7273, allocations: 0.9752 MB / 0.7636 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005235/0.7325, allocations: 1.616 MB / 0.7651 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004565/0.7371, allocations: 1.639 MB / 0.7667 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008515/0.7456, allocations: 4.555 MB / 0.7712 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006425/0.7521, allocations: 4.094 MB / 0.7752 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004154/0.7563, allocations: 1.924 MB / 0.7771 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003749/0.76, allocations: 2.328 MB / 0.7793 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001494/0.7616, allocations: 428 kB / 0.7797 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003082/0.7647, allocations: 1.003 MB / 0.7807 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001357/0.766, allocations: 1.106 MB / 0.7818 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002482/0.7685, allocations: 1.932 MB / 0.7837 GB, free: 388 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00635/0.7749, allocations: 5.41 MB / 0.789 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.7749, allocations: 7.938 kB / 0.789 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.643e-06/0.775, allocations: 0 / 0.789 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001414/0.7751, allocations: 0 / 0.789 GB, free: 10.95 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: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.008989/0.7841, allocations: 4.301 MB / 0.7932 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.7841, allocations: 8.031 kB / 0.7932 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005066/0.7847, allocations: 442.1 kB / 0.7936 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01314/0.7978, allocations: 2.753 MB / 0.7963 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00402/0.8019, allocations: 2.168 MB / 0.7984 GB, free: 1.137 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.802, allocations: 230.2 kB / 0.7986 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000518/0.8026, allocations: 300 kB / 0.7989 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0101/0.8127, allocations: 4.967 MB / 0.8038 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.249e-05/0.8128, allocations: 0 / 0.8038 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004026/0.8132, allocations: 131.9 kB / 0.8039 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.412e-05/0.8132, allocations: 76 kB / 0.804 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01455/0.8278, allocations: 6.111 MB / 0.8099 GB, free: 5.234 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.3074/1.135, allocations: 13.64 MB / 0.8232 GB, free: 211.3 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01042/1.146, allocations: 4.345 MB / 0.8275 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004935/1.151, allocations: 2.323 MB / 0.8298 GB, free: 209.3 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008024/1.152, allocations: 0.6683 MB / 0.8304 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005311/1.157, allocations: 2.371 MB / 0.8327 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=257): time 4.789e-06/1.157, allocations: 3.938 kB / 0.8327 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=257): time 0.01918/1.176, allocations: 6.944 MB / 0.8395 GB, free: 203.8 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/1.176, allocations: 211.8 kB / 0.8397 GB, free: 203.6 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003024/1.179, allocations: 2.301 MB / 0.842 GB, free: 202.4 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000415/1.18, allocations: 73.2 kB / 0.842 GB, free: 202.3 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/1.181, allocations: 1.306 MB / 0.8433 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007575/1.181, allocations: 0.8479 MB / 0.8441 GB, free: 200.5 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007454/1.182, allocations: 462.7 kB / 0.8446 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.315e-05/1.182, allocations: 309.1 kB / 0.8449 GB, free: 200 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003865/1.186, allocations: 1.87 MB / 0.8467 GB, free: 199 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004211/1.19, allocations: 2.184 MB / 0.8488 GB, free: 197.8 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008079/1.198, allocations: 4.033 MB / 0.8528 GB, free: 195.2 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/1.198, allocations: 4 kB / 0.8528 GB, free: 195.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.009574/1.208, allocations: 4.651 MB / 0.8573 GB, free: 190.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/1.208, allocations: 4.156 kB / 0.8573 GB, free: 190.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/1.208, allocations: 8 kB / 0.8573 GB, free: 190.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005544/1.209, allocations: 236.5 kB / 0.8576 GB, free: 190.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003417/1.212, allocations: 0.7717 MB / 0.8583 GB, free: 189.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003101/1.215, allocations: 3.373 MB / 0.8616 GB, free: 185.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003531/1.219, allocations: 0.513 MB / 0.8621 GB, free: 185.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002482/1.219, allocations: 103.9 kB / 0.8622 GB, free: 185.3 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 (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.001952/1.221, allocations: 0.8875 MB / 0.8631 GB, free: 184.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007135/1.222, allocations: 260.8 kB / 0.8633 GB, free: 184.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01131/1.233, allocations: 5.269 MB / 0.8685 GB, free: 178.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/1.233, allocations: 31.98 kB / 0.8685 GB, free: 178.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/1.233, allocations: 5.5 kB / 0.8685 GB, free: 178.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.369e-05/1.233, allocations: 11.95 kB / 0.8685 GB, free: 178.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01529/1.248, allocations: 8.839 MB / 0.8771 GB, free: 169.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/1.248, allocations: 0 / 0.8771 GB, free: 169.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003333/1.252, allocations: 0.7176 MB / 0.8778 GB, free: 169.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007243/1.253, allocations: 274.2 kB / 0.8781 GB, free: 168.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002357/1.253, allocations: 71.94 kB / 0.8782 GB, free: 168.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003687/1.257, allocations: 5.233 MB / 0.8833 GB, free: 163.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.257, allocations: 3.938 kB / 0.8833 GB, free: 163.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01478/1.271, allocations: 7.532 MB / 0.8906 GB, free: 155.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001716/1.273, allocations: 0.7667 MB / 0.8914 GB, free: 154.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004758/1.274, allocations: 59.83 kB / 0.8914 GB, free: 154.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002768/1.276, allocations: 389.5 kB / 0.8918 GB, free: 154.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003588/1.277, allocations: 169.9 kB / 0.892 GB, free: 154.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002008/1.277, allocations: 87.94 kB / 0.8921 GB, free: 154.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001904/1.279, allocations: 1.696 MB / 0.8937 GB, free: 152.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/1.279, allocations: 3.938 kB / 0.8937 GB, free: 152.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0025/1.281, allocations: 0.9621 MB / 0.8947 GB, free: 151.5 MB / 0.6387 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 (251): * Single equations (assignments): 244 * 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.01659/1.298, allocations: 9.014 MB / 0.9035 GB, free: 142.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01821/1.316, allocations: 7.741 MB / 0.911 GB, free: 135.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/1.316, allocations: 0 / 0.911 GB, free: 135.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005991/1.322, allocations: 2.596 MB / 0.9136 GB, free: 132.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004043/1.326, allocations: 0.6506 MB / 0.9142 GB, free: 131.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05945/1.386, allocations: 30.39 MB / 0.9439 GB, free: 99.83 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002472/1.388, allocations: 2.37 MB / 0.9462 GB, free: 97.43 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00495/1.393, allocations: 1.094 MB / 0.9473 GB, free: 96.34 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002553/1.396, allocations: 1.362 MB / 0.9486 GB, free: 94.98 MB / 0.6387 GB Notification: Performance of SimCode: time 1.012e-06/1.396, allocations: 0 / 0.9486 GB, free: 94.98 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1065/1.502, allocations: 65.56 MB / 1.013 GB, free: 29.95 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.86/15.37, allocations: 14.27 kB / 1.013 GB, free: 29.94 MB / 0.6387 GB (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 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)