Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.SimpleRoomThreeElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",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.006445/0.006445, allocations: 103.1 kB / 15.73 MB, free: 6 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.001373/0.001373, allocations: 191.1 kB / 16.67 MB, free: 5.926 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: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8004/0.8004, allocations: 132.2 MB / 422.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 62.23 kB / 0.5808 GB, free: 24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1537, allocations: 80.21 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.6271/0.7809, allocations: 161.7 MB / 0.8171 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03559/0.8165, allocations: 27.05 MB / 0.8435 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004885/0.8214, allocations: 76.84 kB / 0.8436 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002863/0.8243, allocations: 1.069 MB / 0.8446 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005896/0.8302, allocations: 1.751 MB / 0.8463 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00478/0.835, allocations: 1.798 MB / 0.8481 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007194/0.8422, allocations: 5.219 MB / 0.8532 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006839/0.8491, allocations: 4.515 MB / 0.8576 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005161/0.8543, allocations: 2.163 MB / 0.8597 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004464/0.8588, allocations: 2.596 MB / 0.8623 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.00133/0.8601, allocations: 484 kB / 0.8627 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003192/0.8633, allocations: 1.089 MB / 0.8638 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001285/0.8646, allocations: 1.239 MB / 0.865 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00354/0.8682, allocations: 2.188 MB / 0.8671 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007893/0.8761, allocations: 6.212 MB / 0.8732 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.8761, allocations: 4 kB / 0.8732 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8761, allocations: 0 / 0.8732 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001295/0.8763, allocations: 0 / 0.8732 GB, free: 10.82 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.01026/0.8865, allocations: 4.744 MB / 0.8778 GB, free: 6.008 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.8866, allocations: 8.031 kB / 0.8778 GB, free: 6 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006026/0.8872, allocations: 480.5 kB / 0.8783 GB, free: 5.52 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01355/0.9008, allocations: 2.795 MB / 0.881 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005322/0.9061, allocations: 2.4 MB / 0.8834 GB, free: 248 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002224/0.9064, allocations: 259 kB / 0.8836 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000848/0.9072, allocations: 339.9 kB / 0.8839 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01184/0.9191, allocations: 5.389 MB / 0.8892 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.103e-05/0.9192, allocations: 3.938 kB / 0.8892 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003673/0.9195, allocations: 144 kB / 0.8893 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.228e-05/0.9196, allocations: 84 kB / 0.8894 GB, free: 9.969 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.015/0.9346, allocations: 6.527 MB / 0.8958 GB, free: 3.43 MB / 0.6544 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.03211/0.9668, allocations: 15.61 MB / 0.911 GB, free: 3.195 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009588/0.9764, allocations: 4.076 MB / 0.915 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006358/0.9828, allocations: 2.663 MB / 0.9176 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/0.9839, allocations: 0.6736 MB / 0.9183 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006513/0.9905, allocations: 2.573 MB / 0.9208 GB, free: 9.02 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=288): time 6.993e-06/0.9905, allocations: 0 / 0.9208 GB, free: 9.02 MB / 0.6856 GB Notification: Performance of matching and sorting (n=288): time 0.02318/1.014, allocations: 8.386 MB / 0.929 GB, free: 0.5156 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002179/1.014, allocations: 214.2 kB / 0.9292 GB, free: 268 kB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004713/1.019, allocations: 2.517 MB / 0.9316 GB, free: 13.72 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0007794/1.019, allocations: 77.7 kB / 0.9317 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00153/1.021, allocations: 1.435 MB / 0.9331 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001603/1.023, allocations: 0.9626 MB / 0.9341 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001893/1.025, allocations: 0.4892 MB / 0.9345 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000102/1.025, allocations: 305.1 kB / 0.9348 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005238/1.03, allocations: 2.038 MB / 0.9368 GB, free: 8.371 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005435/1.035, allocations: 2.367 MB / 0.9391 GB, free: 5.918 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/1.046, allocations: 4.398 MB / 0.9434 GB, free: 1.434 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-05/1.046, allocations: 0 / 0.9434 GB, free: 1.434 MB / 0.7012 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.01334/1.059, allocations: 5.282 MB / 0.9486 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/1.059, allocations: 9.875 kB / 0.9486 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/1.059, allocations: 8.156 kB / 0.9486 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001352/1.06, allocations: 0.5452 MB / 0.9491 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004261/1.065, allocations: 0.7839 MB / 0.9499 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008488/1.073, allocations: 5.714 MB / 0.9555 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003984/1.077, allocations: 0.5401 MB / 0.956 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006878/1.078, allocations: 111.9 kB / 0.9561 GB, free: 4.238 MB / 0.7169 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 (274): * Single equations (assignments): 273 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002646/1.081, allocations: 0.9697 MB / 0.9571 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/1.082, allocations: 292.3 kB / 0.9573 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01442/1.096, allocations: 5.876 MB / 0.9631 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.037e-05/1.096, allocations: 28 kB / 0.9631 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.138e-05/1.096, allocations: 11.98 kB / 0.9631 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.042e-05/1.096, allocations: 15.89 kB / 0.9631 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02229/1.119, allocations: 9.898 MB / 0.9728 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/1.119, allocations: 0 / 0.9728 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003966/1.123, allocations: 0.7527 MB / 0.9735 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001544/1.124, allocations: 0.5293 MB / 0.9741 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005259/1.125, allocations: 83.94 kB / 0.9741 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008956/1.134, allocations: 7.546 MB / 0.9815 GB, free: 9.738 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.134, allocations: 80 / 0.9815 GB, free: 9.738 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02027/1.154, allocations: 8.405 MB / 0.9897 GB, free: 1.242 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002469/1.156, allocations: 0.8443 MB / 0.9905 GB, free: 384 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001159/1.158, allocations: 59.91 kB / 0.9906 GB, free: 324 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003663/1.161, allocations: 405.4 kB / 0.991 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007414/1.162, allocations: 190 kB / 0.9912 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000517/1.163, allocations: 103.9 kB / 0.9913 GB, free: 15.63 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003717/1.166, allocations: 1.834 MB / 0.993 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.1e-07/1.166, allocations: 0 / 0.993 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004191/1.171, allocations: 1.095 MB / 0.9941 GB, free: 12.69 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (260): * Single equations (assignments): 253 * 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 {(4,36,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.0224/1.193, allocations: 9.9 MB / 1.004 GB, free: 3.102 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01226/1.205, allocations: 5.073 MB / 1.009 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.205, allocations: 4.062 kB / 1.009 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.006856/1.212, allocations: 2.943 MB / 1.012 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004529/1.217, allocations: 0.722 MB / 1.012 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06922/1.286, allocations: 30.78 MB / 1.042 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003191/1.289, allocations: 2.555 MB / 1.045 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.004587/1.294, allocations: 1.134 MB / 1.046 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003106/1.297, allocations: 1.522 MB / 1.047 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of SimCode: time 1.583e-06/1.297, allocations: 0 / 1.047 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6084/1.905, allocations: 76.49 MB / 1.122 GB, free: 264.6 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.76/19.66, allocations: 7.672 kB / 1.122 GB, free: 264.6 MB / 0.8106 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)