Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="IDEAS_dev_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.008526/0.008526, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.001886/0.001886, allocations: 189.8 kB / 16.67 MB, free: 5.973 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.556/1.556, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.059/1.059, allocations: 135.5 MB / 426.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 63.91 kB / 0.5857 GB, free: 3.191 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5597/0.5621, allocations: 81.03 MB / 0.6649 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.2198/0.7819, allocations: 160.1 MB / 0.8212 GB, free: 180 kB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04102/0.8229, allocations: 26.61 MB / 0.8472 GB, free: 5.477 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00404/0.827, allocations: 71.62 kB / 0.8473 GB, free: 5.406 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002861/0.83, allocations: 0.9869 MB / 0.8482 GB, free: 4.414 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00578/0.8358, allocations: 1.608 MB / 0.8498 GB, free: 2.801 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00499/0.8408, allocations: 1.644 MB / 0.8514 GB, free: 1.168 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007624/0.8484, allocations: 4.574 MB / 0.8559 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006286/0.8547, allocations: 4.094 MB / 0.8599 GB, free: 8.418 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004409/0.8592, allocations: 1.925 MB / 0.8617 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004498/0.8637, allocations: 2.343 MB / 0.864 GB, free: 4.137 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001375/0.8651, allocations: 424 kB / 0.8644 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003113/0.8682, allocations: 1.027 MB / 0.8654 GB, free: 2.695 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00144/0.8697, allocations: 1.106 MB / 0.8665 GB, free: 1.586 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.4888/1.359, allocations: 1.926 MB / 0.8684 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01084/1.369, allocations: 5.534 MB / 0.8738 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/1.369, allocations: 0.6875 kB / 0.8738 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.853e-06/1.369, allocations: 0 / 0.8738 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002346/1.37, allocations: 1.75 kB / 0.8738 GB, free: 11.87 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.01355/1.383, allocations: 4.424 MB / 0.8781 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/1.383, allocations: 9.594 kB / 0.8781 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001077/1.384, allocations: 433.6 kB / 0.8786 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01556/1.4, allocations: 2.772 MB / 0.8813 GB, free: 9.801 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006202/1.406, allocations: 2.234 MB / 0.8834 GB, free: 9.219 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002711/1.407, allocations: 230.5 kB / 0.8837 GB, free: 9.211 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001508/1.408, allocations: 301.2 kB / 0.884 GB, free: 9.211 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01444/1.423, allocations: 4.963 MB / 0.8888 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.867e-05/1.423, allocations: 1.969 kB / 0.8888 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004725/1.423, allocations: 126.1 kB / 0.8889 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.994e-05/1.423, allocations: 75.97 kB / 0.889 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01734/1.441, allocations: 6.105 MB / 0.895 GB, free: 8.91 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.02765/1.468, allocations: 13.58 MB / 0.9082 GB, free: 5.625 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01166/1.48, allocations: 4.342 MB / 0.9125 GB, free: 5.566 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005619/1.486, allocations: 2.319 MB / 0.9147 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008464/1.487, allocations: 0.6691 MB / 0.9154 GB, free: 4.887 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005866/1.492, allocations: 2.367 MB / 0.9177 GB, free: 4.789 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=257): time 6.242e-06/1.492, allocations: 0.8438 kB / 0.9177 GB, free: 4.789 MB / 0.6856 GB Notification: Performance of matching and sorting (n=257): time 0.01685/1.509, allocations: 6.957 MB / 0.9245 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/1.509, allocations: 211.6 kB / 0.9247 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002993/1.512, allocations: 2.312 MB / 0.9269 GB, free: 2.359 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0005904/1.513, allocations: 67.89 kB / 0.927 GB, free: 2.328 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009285/1.514, allocations: 1.332 MB / 0.9283 GB, free: 1.684 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009432/1.515, allocations: 0.8915 MB / 0.9292 GB, free: 1.027 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008601/1.516, allocations: 464.4 kB / 0.9296 GB, free: 0.9219 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 4.008e-05/1.516, allocations: 301.1 kB / 0.9299 GB, free: 0.625 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004218/1.52, allocations: 1.871 MB / 0.9317 GB, free: 200 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0058/1.526, allocations: 2.269 MB / 0.9339 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009766/1.536, allocations: 4.046 MB / 0.9379 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/1.536, allocations: 0 / 0.9379 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01272/1.548, allocations: 4.664 MB / 0.9425 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/1.548, allocations: 4 kB / 0.9425 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/1.548, allocations: 4 kB / 0.9425 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007129/1.549, allocations: 237.1 kB / 0.9427 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004303/1.554, allocations: 0.7599 MB / 0.9434 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00476/1.558, allocations: 3.381 MB / 0.9467 GB, free: 8.434 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004266/1.563, allocations: 0.5264 MB / 0.9472 GB, free: 7.906 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005159/1.563, allocations: 103.9 kB / 0.9473 GB, free: 7.805 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.002222/1.565, allocations: 0.8891 MB / 0.9482 GB, free: 6.938 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008005/1.566, allocations: 270.2 kB / 0.9485 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01399/1.58, allocations: 5.273 MB / 0.9536 GB, free: 1.344 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.539e-05/1.58, allocations: 28 kB / 0.9536 GB, free: 1.316 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/1.58, allocations: 4 kB / 0.9536 GB, free: 1.312 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.508e-05/1.58, allocations: 11.95 kB / 0.9537 GB, free: 1.301 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02078/1.601, allocations: 8.827 MB / 0.9623 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/1.601, allocations: 0 / 0.9623 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003966/1.605, allocations: 0.7161 MB / 0.963 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008766/1.606, allocations: 267.1 kB / 0.9632 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003643/1.606, allocations: 71.94 kB / 0.9633 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005796/1.612, allocations: 5.23 MB / 0.9684 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.612, allocations: 3.984 kB / 0.9684 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01914/1.631, allocations: 7.554 MB / 0.9758 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002173/1.634, allocations: 0.7875 MB / 0.9766 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006703/1.634, allocations: 59.88 kB / 0.9766 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003136/1.637, allocations: 393.3 kB / 0.977 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004215/1.638, allocations: 165.9 kB / 0.9772 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002759/1.638, allocations: 95.92 kB / 0.9772 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002672/1.641, allocations: 1.692 MB / 0.9789 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.7e-07/1.641, allocations: 0 / 0.9789 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003478/1.644, allocations: 0.9712 MB / 0.9798 GB, free: 6.082 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.02306/1.667, allocations: 9.029 MB / 0.9887 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01277/1.68, allocations: 4.561 MB / 0.9931 GB, free: 8.805 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.68, allocations: 0 / 0.9931 GB, free: 8.805 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.006883/1.687, allocations: 2.614 MB / 0.9957 GB, free: 6.207 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003796/1.691, allocations: 0.6454 MB / 0.9963 GB, free: 5.602 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06408/1.755, allocations: 27.68 MB / 1.023 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002537/1.758, allocations: 2.373 MB / 1.026 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.004329/1.762, allocations: 1.092 MB / 1.027 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002945/1.765, allocations: 1.363 MB / 1.028 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of SimCode: time 1.613e-06/1.765, allocations: 0 / 1.028 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1426/1.907, allocations: 66.41 MB / 1.093 GB, free: 2.98 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.97/19.88, allocations: 7.266 kB / 1.093 GB, free: 2.977 MB / 0.8419 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)