Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SimpleRoomTwoElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,fileNamePrefix="IDEAS_dev_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.00583/0.005835, allocations: 99.95 kB / 15.73 MB, free: 6.477 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.001075/0.001075, allocations: 191 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1/1, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 59.91 kB / 0.5851 GB, free: 3.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4478/0.4492, allocations: 80.91 MB / 0.6641 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.192/0.6412, allocations: 160.8 MB / 0.8211 GB, free: 292 kB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04079/0.682, allocations: 26.79 MB / 0.8473 GB, free: 5.41 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00517/0.6873, allocations: 71.62 kB / 0.8474 GB, free: 5.34 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00335/0.6907, allocations: 1.022 MB / 0.8484 GB, free: 4.312 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007565/0.6983, allocations: 1.706 MB / 0.85 GB, free: 2.602 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005524/0.7038, allocations: 1.699 MB / 0.8517 GB, free: 0.9141 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008169/0.712, allocations: 4.845 MB / 0.8564 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007236/0.7193, allocations: 4.252 MB / 0.8606 GB, free: 7.734 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00502/0.7244, allocations: 2.046 MB / 0.8626 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004446/0.7288, allocations: 2.444 MB / 0.8649 GB, free: 3.23 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001827/0.7307, allocations: 448 kB / 0.8654 GB, free: 2.793 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003558/0.7343, allocations: 1.046 MB / 0.8664 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001966/0.7362, allocations: 1.184 MB / 0.8676 GB, free: 0.5586 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.5183/1.255, allocations: 2.029 MB / 0.8695 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00889/1.264, allocations: 5.8 MB / 0.8752 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.892e-06/1.264, allocations: 0.8438 kB / 0.8752 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.954e-06/1.264, allocations: 0 / 0.8752 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002211/1.264, allocations: 3.422 kB / 0.8752 GB, free: 11.38 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: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.01333/1.277, allocations: 4.492 MB / 0.8796 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/1.277, allocations: 10.97 kB / 0.8796 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009005/1.278, allocations: 451.3 kB / 0.88 GB, free: 9.59 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01435/1.292, allocations: 2.767 MB / 0.8827 GB, free: 9.379 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006425/1.299, allocations: 2.296 MB / 0.885 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002892/1.299, allocations: 242.5 kB / 0.8852 GB, free: 8.758 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001415/1.301, allocations: 317.2 kB / 0.8855 GB, free: 8.758 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01485/1.316, allocations: 5.143 MB / 0.8905 GB, free: 8.484 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.911e-05/1.316, allocations: 6.188 kB / 0.8905 GB, free: 8.484 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004304/1.316, allocations: 134.6 kB / 0.8907 GB, free: 8.484 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-05/1.316, allocations: 79.31 kB / 0.8907 GB, free: 8.484 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01546/1.332, allocations: 6.284 MB / 0.8969 GB, free: 8.453 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.02861/1.36, allocations: 14.43 MB / 0.911 GB, free: 4.75 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/1.371, allocations: 4.514 MB / 0.9154 GB, free: 4.68 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005429/1.376, allocations: 2.452 MB / 0.9178 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009468/1.377, allocations: 0.6713 MB / 0.9184 GB, free: 4 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005599/1.383, allocations: 2.456 MB / 0.9208 GB, free: 3.824 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=270): time 6.011e-06/1.383, allocations: 0.9062 kB / 0.9208 GB, free: 3.824 MB / 0.6856 GB Notification: Performance of matching and sorting (n=270): time 0.02004/1.403, allocations: 7.543 MB / 0.9282 GB, free: 1.691 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.272e-05/1.403, allocations: 210.6 kB / 0.9284 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00464/1.408, allocations: 2.397 MB / 0.9307 GB, free: 0.8828 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0008164/1.408, allocations: 76.69 kB / 0.9308 GB, free: 0.8516 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001462/1.41, allocations: 1.351 MB / 0.9321 GB, free: 212 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001794/1.412, allocations: 0.8964 MB / 0.933 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002167/1.414, allocations: 480.7 kB / 0.9335 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001224/1.414, allocations: 308 kB / 0.9338 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004803/1.419, allocations: 1.945 MB / 0.9357 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005088/1.424, allocations: 2.271 MB / 0.9379 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009273/1.433, allocations: 4.202 MB / 0.942 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/1.433, allocations: 3.781 kB / 0.942 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.0124/1.446, allocations: 4.899 MB / 0.9468 GB, free: 8.508 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/1.446, allocations: 17.94 kB / 0.9468 GB, free: 8.492 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/1.446, allocations: 8 kB / 0.9468 GB, free: 8.484 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009349/1.447, allocations: 338 kB / 0.9471 GB, free: 8.152 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004078/1.451, allocations: 0.7806 MB / 0.9479 GB, free: 7.398 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005904/1.457, allocations: 4.25 MB / 0.952 GB, free: 3.031 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004201/1.461, allocations: 0.5246 MB / 0.9525 GB, free: 2.504 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007792/1.462, allocations: 103.9 kB / 0.9526 GB, free: 2.402 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 (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.003181/1.465, allocations: 0.9233 MB / 0.9535 GB, free: 1.496 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00144/1.466, allocations: 274.8 kB / 0.9538 GB, free: 1.227 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01546/1.482, allocations: 5.538 MB / 0.9592 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.691e-05/1.482, allocations: 27.94 kB / 0.9592 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.098e-05/1.482, allocations: 8 kB / 0.9592 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.835e-05/1.482, allocations: 15.94 kB / 0.9593 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02201/1.504, allocations: 9.298 MB / 0.9683 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/1.504, allocations: 7.75 kB / 0.9683 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003944/1.508, allocations: 0.7277 MB / 0.969 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00128/1.509, allocations: 389.7 kB / 0.9694 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005159/1.51, allocations: 71.94 kB / 0.9695 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007485/1.517, allocations: 6.284 MB / 0.9756 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/1.517, allocations: 3.984 kB / 0.9756 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0189/1.536, allocations: 7.928 MB / 0.9834 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002793/1.539, allocations: 0.8016 MB / 0.9842 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00143/1.541, allocations: 59.84 kB / 0.9842 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003827/1.544, allocations: 398 kB / 0.9846 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006523/1.545, allocations: 182 kB / 0.9848 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004297/1.546, allocations: 91.94 kB / 0.9849 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.004009/1.55, allocations: 1.754 MB / 0.9866 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.31e-07/1.55, allocations: 0 / 0.9866 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00499/1.555, allocations: 1.021 MB / 0.9876 GB, free: 14.2 MB / 0.7481 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.02216/1.577, allocations: 9.405 MB / 0.9967 GB, free: 5.125 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01363/1.59, allocations: 4.781 MB / 1.001 GB, free: 344 kB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.591, allocations: 0 / 1.001 GB, free: 344 kB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.007195/1.598, allocations: 2.758 MB / 1.004 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005436/1.603, allocations: 0.6668 MB / 1.005 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07066/1.674, allocations: 28.92 MB / 1.033 GB, free: 15.82 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003728/1.678, allocations: 2.456 MB / 1.035 GB, free: 13.34 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.005764/1.683, allocations: 1.095 MB / 1.036 GB, free: 12.24 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003769/1.687, allocations: 1.444 MB / 1.038 GB, free: 10.79 MB / 0.795 GB Notification: Performance of SimCode: time 1.473e-06/1.687, allocations: 0 / 1.038 GB, free: 10.79 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1321/1.819, allocations: 70.06 MB / 1.106 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 17/18.82, allocations: 7.875 kB / 1.106 GB, free: 5.348 MB / 0.8575 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)