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.008348/0.008348, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001452/0.001452, allocations: 195.9 kB / 16.67 MB, free: 5.52 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8043/0.8043, allocations: 132.2 MB / 422.7 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 67.64 kB / 0.5808 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1661, allocations: 80.21 MB / 0.6592 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.6681/0.8342, allocations: 160.1 MB / 0.8155 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03885/0.8731, allocations: 26.6 MB / 0.8415 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005652/0.8788, allocations: 73.97 kB / 0.8416 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003797/0.8827, allocations: 0.9818 MB / 0.8425 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006454/0.8892, allocations: 1.638 MB / 0.8441 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005242/0.8944, allocations: 1.644 MB / 0.8457 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00794/0.9024, allocations: 4.576 MB / 0.8502 GB, free: 172 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006166/0.9086, allocations: 4.103 MB / 0.8542 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004266/0.9129, allocations: 1.968 MB / 0.8561 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004254/0.9172, allocations: 2.335 MB / 0.8584 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001069/0.9182, allocations: 424 kB / 0.8588 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00281/0.9211, allocations: 1.03 MB / 0.8598 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001061/0.9221, allocations: 1.11 MB / 0.8609 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002491/0.9246, allocations: 1.932 MB / 0.8628 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.008037/0.9327, allocations: 5.507 MB / 0.8682 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.9327, allocations: 0 / 0.8682 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9327, allocations: 3.938 kB / 0.8682 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001702/0.9329, allocations: 0 / 0.8682 GB, free: 15.99 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: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.01093/0.9438, allocations: 4.313 MB / 0.8724 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.9439, allocations: 12.03 kB / 0.8724 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005756/0.9445, allocations: 434.2 kB / 0.8728 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01306/0.9576, allocations: 2.757 MB / 0.8755 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005508/0.9631, allocations: 2.207 MB / 0.8777 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002219/0.9634, allocations: 234.2 kB / 0.8779 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00107/0.9645, allocations: 300 kB / 0.8782 GB, free: 5.605 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01168/0.9762, allocations: 4.963 MB / 0.883 GB, free: 0.5586 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.079e-05/0.9763, allocations: 0 / 0.883 GB, free: 0.5586 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003393/0.9766, allocations: 128 kB / 0.8831 GB, free: 444 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-05/0.9767, allocations: 79.94 kB / 0.8832 GB, free: 364 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01427/0.991, allocations: 6.111 MB / 0.8892 GB, free: 10.23 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.02801/1.019, allocations: 13.54 MB / 0.9024 GB, free: 12.25 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01088/1.03, allocations: 4.355 MB / 0.9067 GB, free: 7.891 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005495/1.035, allocations: 2.308 MB / 0.9089 GB, free: 5.582 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/1.037, allocations: 0.6774 MB / 0.9096 GB, free: 4.773 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005709/1.042, allocations: 2.366 MB / 0.9119 GB, free: 2.371 MB / 0.67 GB Notification: Performance of pre-optimization done (n=257): time 5.42e-06/1.042, allocations: 0 / 0.9119 GB, free: 2.371 MB / 0.67 GB Notification: Performance of matching and sorting (n=257): time 0.01852/1.061, allocations: 6.943 MB / 0.9187 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/1.061, allocations: 210 kB / 0.9189 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004143/1.065, allocations: 2.307 MB / 0.9211 GB, free: 8.715 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0006256/1.066, allocations: 77.69 kB / 0.9212 GB, free: 8.633 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001462/1.067, allocations: 1.294 MB / 0.9224 GB, free: 7.32 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001328/1.069, allocations: 0.851 MB / 0.9233 GB, free: 6.457 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001615/1.07, allocations: 463.9 kB / 0.9237 GB, free: 5.996 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001138/1.07, allocations: 301.1 kB / 0.924 GB, free: 5.699 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00479/1.075, allocations: 1.878 MB / 0.9258 GB, free: 3.816 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005085/1.08, allocations: 2.188 MB / 0.928 GB, free: 1.539 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009474/1.09, allocations: 4.041 MB / 0.9319 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-05/1.09, allocations: 4 kB / 0.9319 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01195/1.102, allocations: 4.647 MB / 0.9365 GB, free: 8.699 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/1.102, allocations: 11.98 kB / 0.9365 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/1.102, allocations: 0 / 0.9365 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007/1.103, allocations: 236.8 kB / 0.9367 GB, free: 8.453 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003782/1.106, allocations: 0.7606 MB / 0.9374 GB, free: 7.691 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004794/1.111, allocations: 3.383 MB / 0.9408 GB, free: 4.172 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00372/1.115, allocations: 0.5169 MB / 0.9413 GB, free: 3.652 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000548/1.116, allocations: 99.92 kB / 0.9414 GB, free: 3.555 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.002397/1.118, allocations: 0.8914 MB / 0.9422 GB, free: 2.652 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/1.119, allocations: 260.7 kB / 0.9425 GB, free: 2.395 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01351/1.133, allocations: 5.269 MB / 0.9476 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.772e-05/1.133, allocations: 24 kB / 0.9476 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-05/1.133, allocations: 4 kB / 0.9476 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.417e-05/1.133, allocations: 15.89 kB / 0.9477 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0207/1.153, allocations: 8.81 MB / 0.9563 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/1.153, allocations: 0 / 0.9563 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003684/1.157, allocations: 0.7176 MB / 0.957 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000916/1.158, allocations: 268.2 kB / 0.9572 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000431/1.159, allocations: 79.86 kB / 0.9573 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00588/1.164, allocations: 5.242 MB / 0.9624 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.164, allocations: 0 / 0.9624 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01965/1.184, allocations: 7.533 MB / 0.9698 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002639/1.187, allocations: 0.7705 MB / 0.9705 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001011/1.188, allocations: 59.84 kB / 0.9706 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003521/1.191, allocations: 391.4 kB / 0.971 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000724/1.192, allocations: 161.9 kB / 0.9711 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005401/1.193, allocations: 95.92 kB / 0.9712 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00347/1.196, allocations: 1.692 MB / 0.9729 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/1.196, allocations: 3.938 kB / 0.9729 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003845/1.2, allocations: 0.966 MB / 0.9738 GB, free: 1.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.02115/1.221, allocations: 9.009 MB / 0.9826 GB, free: 8.945 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01156/1.233, allocations: 4.553 MB / 0.987 GB, free: 4.344 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.233, allocations: 0 / 0.987 GB, free: 4.344 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.006199/1.239, allocations: 2.608 MB / 0.9896 GB, free: 1.703 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004026/1.243, allocations: 0.6428 MB / 0.9902 GB, free: 1.094 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06249/1.306, allocations: 27.57 MB / 1.017 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002896/1.309, allocations: 2.363 MB / 1.019 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.004314/1.313, allocations: 1.086 MB / 1.021 GB, free: 1.668 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002615/1.316, allocations: 1.362 MB / 1.022 GB, free: 312 kB / 0.7794 GB Notification: Performance of SimCode: time 9.92e-07/1.316, allocations: 0 / 1.022 GB, free: 312 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4823/1.798, allocations: 66.39 MB / 1.087 GB, free: 303.8 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.96/19.76, allocations: 17.41 kB / 1.087 GB, free: 303.8 MB / 0.8106 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)