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.007404/0.007404, allocations: 101.9 kB / 15.73 MB, free: 6.469 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.001835/0.001835, allocations: 193.8 kB / 16.67 MB, free: 6.379 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8074/0.8074, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 63.89 kB / 0.5808 GB, free: 8.082 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4186, allocations: 80.2 MB / 0.6592 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1797/0.5984, allocations: 160.1 MB / 0.8155 GB, free: 5.477 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0385/0.6369, allocations: 26.59 MB / 0.8415 GB, free: 10.8 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00372/0.6407, allocations: 71.62 kB / 0.8416 GB, free: 10.73 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002808/0.6435, allocations: 0.9791 MB / 0.8425 GB, free: 9.75 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005704/0.6493, allocations: 1.613 MB / 0.8441 GB, free: 8.133 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005024/0.6543, allocations: 1.645 MB / 0.8457 GB, free: 6.5 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006828/0.6611, allocations: 4.566 MB / 0.8502 GB, free: 1.922 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00636/0.6675, allocations: 4.102 MB / 0.8542 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004231/0.6718, allocations: 1.969 MB / 0.8561 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003934/0.6757, allocations: 2.339 MB / 0.8584 GB, free: 9.434 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001391/0.6771, allocations: 424 kB / 0.8588 GB, free: 9.02 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003049/0.6802, allocations: 1.03 MB / 0.8598 GB, free: 7.988 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001707/0.6819, allocations: 1.102 MB / 0.8609 GB, free: 6.883 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003566/0.6855, allocations: 1.936 MB / 0.8628 GB, free: 4.938 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.5182/1.204, allocations: 5.502 MB / 0.8681 GB, free: 16.32 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/1.204, allocations: 0 / 0.8681 GB, free: 16.32 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.547e-06/1.204, allocations: 0.6562 kB / 0.8681 GB, free: 16.32 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002382/1.204, allocations: 0.9062 kB / 0.8681 GB, free: 16.32 MB / 0.6856 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.01235/1.216, allocations: 4.309 MB / 0.8723 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/1.216, allocations: 10.16 kB / 0.8723 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006333/1.217, allocations: 436.2 kB / 0.8728 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01413/1.231, allocations: 2.75 MB / 0.8754 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005846/1.237, allocations: 2.218 MB / 0.8776 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003695/1.238, allocations: 229.8 kB / 0.8778 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001179/1.239, allocations: 303.7 kB / 0.8781 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01383/1.253, allocations: 4.963 MB / 0.883 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.18e-05/1.253, allocations: 2.062 kB / 0.883 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004113/1.253, allocations: 126.8 kB / 0.8831 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-05/1.253, allocations: 74.69 kB / 0.8832 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01603/1.269, allocations: 6.108 MB / 0.8891 GB, free: 13.61 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.02787/1.297, allocations: 13.54 MB / 0.9023 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008847/1.306, allocations: 4.344 MB / 0.9066 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004511/1.311, allocations: 2.321 MB / 0.9089 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007848/1.311, allocations: 0.6696 MB / 0.9095 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004922/1.316, allocations: 2.373 MB / 0.9118 GB, free: 9.516 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=257): time 5.46e-06/1.316, allocations: 0.875 kB / 0.9118 GB, free: 9.516 MB / 0.6856 GB Notification: Performance of matching and sorting (n=257): time 0.01686/1.333, allocations: 6.938 MB / 0.9186 GB, free: 8.93 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/1.333, allocations: 217.2 kB / 0.9188 GB, free: 8.707 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00325/1.337, allocations: 2.306 MB / 0.9211 GB, free: 8.367 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0005878/1.337, allocations: 71.2 kB / 0.9211 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001047/1.338, allocations: 1.305 MB / 0.9224 GB, free: 7.715 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009275/1.339, allocations: 0.8518 MB / 0.9232 GB, free: 7.094 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008157/1.34, allocations: 462.5 kB / 0.9237 GB, free: 6.992 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.684e-05/1.34, allocations: 304.1 kB / 0.924 GB, free: 6.695 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004056/1.344, allocations: 1.869 MB / 0.9258 GB, free: 6.266 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004442/1.349, allocations: 2.187 MB / 0.9279 GB, free: 5.574 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007997/1.357, allocations: 4.04 MB / 0.9319 GB, free: 4.598 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/1.357, allocations: 0 / 0.9319 GB, free: 4.598 MB / 0.6856 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.009845/1.366, allocations: 4.654 MB / 0.9364 GB, free: 2.996 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/1.367, allocations: 8 kB / 0.9364 GB, free: 2.988 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/1.367, allocations: 4 kB / 0.9364 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005995/1.367, allocations: 235.3 kB / 0.9367 GB, free: 2.801 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003643/1.371, allocations: 0.7628 MB / 0.9374 GB, free: 2.082 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004177/1.375, allocations: 3.376 MB / 0.9407 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004191/1.379, allocations: 0.5188 MB / 0.9412 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000366/1.38, allocations: 102 kB / 0.9413 GB, free: 14.84 MB / 0.7012 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.001988/1.382, allocations: 0.8888 MB / 0.9422 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007559/1.382, allocations: 264.7 kB / 0.9424 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/1.394, allocations: 5.271 MB / 0.9476 GB, free: 8.891 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.411e-05/1.394, allocations: 24 kB / 0.9476 GB, free: 8.867 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/1.394, allocations: 4 kB / 0.9476 GB, free: 8.863 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.892e-05/1.395, allocations: 15.94 kB / 0.9476 GB, free: 8.848 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01766/1.412, allocations: 8.824 MB / 0.9562 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/1.412, allocations: 0 / 0.9562 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003613/1.416, allocations: 0.7196 MB / 0.9569 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008079/1.417, allocations: 260.3 kB / 0.9572 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002576/1.417, allocations: 73.03 kB / 0.9572 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004936/1.422, allocations: 5.235 MB / 0.9624 GB, free: 9.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.422, allocations: 1.484 kB / 0.9624 GB, free: 9.441 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01678/1.439, allocations: 7.531 MB / 0.9697 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002009/1.441, allocations: 0.7743 MB / 0.9705 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006037/1.441, allocations: 63.59 kB / 0.9705 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003007/1.444, allocations: 391.4 kB / 0.9709 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003794/1.445, allocations: 165.9 kB / 0.9711 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002301/1.445, allocations: 91.94 kB / 0.9712 GB, free: 340 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00246/1.447, allocations: 1.692 MB / 0.9728 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/1.447, allocations: 1.094 kB / 0.9728 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00307/1.451, allocations: 0.9583 MB / 0.9737 GB, free: 13.66 MB / 0.7325 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.01896/1.47, allocations: 9.017 MB / 0.9825 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01091/1.48, allocations: 4.568 MB / 0.987 GB, free: 472 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.481, allocations: 0 / 0.987 GB, free: 472 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005876/1.486, allocations: 2.604 MB / 0.9896 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003469/1.49, allocations: 0.6486 MB / 0.9902 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05816/1.548, allocations: 27.57 MB / 1.017 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003073/1.551, allocations: 2.37 MB / 1.019 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.004551/1.556, allocations: 1.087 MB / 1.02 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002734/1.559, allocations: 1.366 MB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of SimCode: time 1.282e-06/1.559, allocations: 0 / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1271/1.686, allocations: 67.51 MB / 1.088 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.34/20.03, allocations: 11.44 kB / 1.088 GB, free: 9.742 MB / 0.8419 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)