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.008079/0.008079, allocations: 100.6 kB / 15.73 MB, free: 6.043 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.001829/0.001829, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9594/0.9594, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 59.91 kB / 0.5851 GB, free: 3.852 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4996/0.501, allocations: 80.92 MB / 0.6641 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1862/0.6873, allocations: 160.1 MB / 0.8205 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0367/0.7241, allocations: 26.59 MB / 0.8465 GB, free: 6.188 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003783/0.7279, allocations: 71.62 kB / 0.8465 GB, free: 6.117 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002848/0.7308, allocations: 0.9908 MB / 0.8475 GB, free: 5.121 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005611/0.7365, allocations: 1.637 MB / 0.8491 GB, free: 3.48 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004633/0.7411, allocations: 1.652 MB / 0.8507 GB, free: 1.84 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006671/0.7478, allocations: 4.569 MB / 0.8552 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006394/0.7542, allocations: 4.098 MB / 0.8592 GB, free: 9.094 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003989/0.7582, allocations: 1.959 MB / 0.8611 GB, free: 7.129 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003768/0.762, allocations: 2.339 MB / 0.8634 GB, free: 4.781 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001431/0.7634, allocations: 431.9 kB / 0.8638 GB, free: 4.359 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002937/0.7664, allocations: 1.03 MB / 0.8648 GB, free: 3.328 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001745/0.7681, allocations: 1.102 MB / 0.8659 GB, free: 2.223 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003493/0.7716, allocations: 1.936 MB / 0.8678 GB, free: 284 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.4793/1.251, allocations: 5.504 MB / 0.8731 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/1.251, allocations: 1.125 kB / 0.8731 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.283e-06/1.251, allocations: 0.5 kB / 0.8731 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002129/1.251, allocations: 0.9375 kB / 0.8731 GB, free: 12.4 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.01331/1.265, allocations: 4.313 MB / 0.8774 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/1.265, allocations: 12.2 kB / 0.8774 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007077/1.265, allocations: 437.1 kB / 0.8778 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01372/1.279, allocations: 2.747 MB / 0.8805 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005922/1.285, allocations: 2.214 MB / 0.8826 GB, free: 9.895 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002541/1.285, allocations: 228.3 kB / 0.8828 GB, free: 9.887 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007998/1.286, allocations: 306.6 kB / 0.8831 GB, free: 9.883 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01169/1.298, allocations: 4.961 MB / 0.888 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-05/1.298, allocations: 0.5 kB / 0.888 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000346/1.298, allocations: 129.4 kB / 0.8881 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.97e-05/1.298, allocations: 74.84 kB / 0.8882 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01519/1.314, allocations: 6.106 MB / 0.8941 GB, free: 9.582 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.0294/1.343, allocations: 13.54 MB / 0.9074 GB, free: 6.32 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/1.353, allocations: 4.355 MB / 0.9116 GB, free: 6.254 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005282/1.359, allocations: 2.321 MB / 0.9139 GB, free: 6.238 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009165/1.36, allocations: 0.6714 MB / 0.9145 GB, free: 5.578 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005798/1.365, allocations: 2.376 MB / 0.9169 GB, free: 5.477 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=257): time 6.432e-06/1.365, allocations: 0.9375 kB / 0.9169 GB, free: 5.477 MB / 0.6856 GB Notification: Performance of matching and sorting (n=257): time 0.01697/1.382, allocations: 6.938 MB / 0.9236 GB, free: 3.863 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/1.383, allocations: 210.1 kB / 0.9238 GB, free: 3.637 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00436/1.387, allocations: 2.31 MB / 0.9261 GB, free: 3.066 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000645/1.388, allocations: 70.7 kB / 0.9262 GB, free: 3.035 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001214/1.389, allocations: 1.305 MB / 0.9274 GB, free: 2.414 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001149/1.39, allocations: 0.8502 MB / 0.9283 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001535/1.392, allocations: 458.7 kB / 0.9287 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 4.826e-05/1.392, allocations: 304.8 kB / 0.929 GB, free: 1.398 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004179/1.396, allocations: 1.873 MB / 0.9308 GB, free: 0.9648 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004711/1.401, allocations: 2.186 MB / 0.933 GB, free: 284 kB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00921/1.41, allocations: 4.036 MB / 0.9369 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.919e-05/1.41, allocations: 0 / 0.9369 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01162/1.421, allocations: 4.66 MB / 0.9414 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.37e-05/1.422, allocations: 8 kB / 0.9415 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/1.422, allocations: 7.75 kB / 0.9415 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007467/1.422, allocations: 232.9 kB / 0.9417 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004151/1.427, allocations: 0.7639 MB / 0.9424 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004462/1.431, allocations: 3.373 MB / 0.9457 GB, free: 9.551 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004349/1.435, allocations: 0.518 MB / 0.9462 GB, free: 9.031 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007564/1.436, allocations: 107.8 kB / 0.9463 GB, free: 8.93 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.003454/1.44, allocations: 0.8934 MB / 0.9472 GB, free: 8.059 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001522/1.441, allocations: 262.7 kB / 0.9475 GB, free: 7.801 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01455/1.456, allocations: 5.258 MB / 0.9526 GB, free: 2.484 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.583e-05/1.456, allocations: 24 kB / 0.9526 GB, free: 2.461 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-05/1.456, allocations: 12 kB / 0.9526 GB, free: 2.449 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.521e-05/1.456, allocations: 11.95 kB / 0.9526 GB, free: 2.438 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02127/1.477, allocations: 8.82 MB / 0.9612 GB, free: 9.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/1.477, allocations: 4 kB / 0.9613 GB, free: 9.566 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003685/1.481, allocations: 0.7199 MB / 0.962 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008668/1.482, allocations: 266.6 kB / 0.9622 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003527/1.482, allocations: 71.94 kB / 0.9623 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005883/1.488, allocations: 5.231 MB / 0.9674 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.488, allocations: 0 / 0.9674 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02097/1.509, allocations: 7.534 MB / 0.9747 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002466/1.512, allocations: 0.7782 MB / 0.9755 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001166/1.513, allocations: 59.84 kB / 0.9756 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003641/1.516, allocations: 387.4 kB / 0.9759 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000594/1.517, allocations: 165.9 kB / 0.9761 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004299/1.517, allocations: 95.92 kB / 0.9762 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003657/1.521, allocations: 1.692 MB / 0.9778 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/1.521, allocations: 0 / 0.9778 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004326/1.525, allocations: 0.9594 MB / 0.9788 GB, free: 7.254 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.02092/1.546, allocations: 9.012 MB / 0.9876 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01161/1.558, allocations: 4.557 MB / 0.992 GB, free: 10 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/1.558, allocations: 0 / 0.992 GB, free: 10 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.006182/1.564, allocations: 2.607 MB / 0.9946 GB, free: 7.41 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004626/1.569, allocations: 0.6554 MB / 0.9952 GB, free: 6.793 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06739/1.636, allocations: 27.55 MB / 1.022 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003915/1.64, allocations: 2.374 MB / 1.024 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.005623/1.646, allocations: 1.092 MB / 1.025 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003428/1.649, allocations: 1.37 MB / 1.027 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of SimCode: time 7.81e-07/1.649, allocations: 0 / 1.027 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1303/1.78, allocations: 66.39 MB / 1.092 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.68/18.46, allocations: 4.844 kB / 1.092 GB, free: 4.305 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)