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.009621/0.009621, allocations: 99.64 kB / 15.73 MB, free: 6.004 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.002754/0.002754, allocations: 192.8 kB / 16.67 MB, free: 5.922 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.5/1.5, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8729/0.8729, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 62.34 kB / 0.5808 GB, free: 24.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1772, allocations: 80.22 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.6598/0.837, allocations: 160.1 MB / 0.8155 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03903/0.8761, allocations: 26.6 MB / 0.8415 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00358/0.8797, allocations: 71.09 kB / 0.8416 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002275/0.882, allocations: 0.9792 MB / 0.8425 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005369/0.8874, allocations: 1.608 MB / 0.8441 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00438/0.8918, allocations: 1.643 MB / 0.8457 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005878/0.8977, allocations: 4.576 MB / 0.8502 GB, free: 168 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005346/0.903, allocations: 4.097 MB / 0.8542 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004139/0.9072, allocations: 1.927 MB / 0.8561 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004436/0.9116, allocations: 2.332 MB / 0.8583 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0009656/0.9126, allocations: 428 kB / 0.8587 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002625/0.9153, allocations: 1.034 MB / 0.8597 GB, free: 8.609 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001195/0.9165, allocations: 1.11 MB / 0.8608 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002522/0.919, allocations: 1.928 MB / 0.8627 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007747/0.9268, allocations: 5.54 MB / 0.8681 GB, free: 4 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.9268, allocations: 0 / 0.8681 GB, free: 4 kB / 0.6231 GB Notification: Performance of FrontEnd: time 2.555e-06/0.9268, allocations: 0 / 0.8681 GB, free: 4 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001388/0.9269, allocations: 0 / 0.8681 GB, free: 4 kB / 0.6231 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.009927/0.9369, allocations: 4.425 MB / 0.8724 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.9369, allocations: 8.031 kB / 0.8725 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006225/0.9376, allocations: 442.2 kB / 0.8729 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01394/0.9515, allocations: 2.767 MB / 0.8756 GB, free: 8.273 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004919/0.9565, allocations: 2.228 MB / 0.8778 GB, free: 5.996 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002248/0.9567, allocations: 230.2 kB / 0.878 GB, free: 5.77 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006698/0.9574, allocations: 304 kB / 0.8783 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01226/0.9697, allocations: 4.967 MB / 0.8831 GB, free: 432 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.415e-05/0.9698, allocations: 0 / 0.8831 GB, free: 432 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003833/0.9702, allocations: 128 kB / 0.8832 GB, free: 304 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-05/0.9702, allocations: 79.94 kB / 0.8833 GB, free: 224 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01644/0.9867, allocations: 6.103 MB / 0.8893 GB, free: 10.1 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.02942/1.016, allocations: 13.57 MB / 0.9025 GB, free: 12.09 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01152/1.028, allocations: 4.35 MB / 0.9068 GB, free: 7.738 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005741/1.033, allocations: 2.312 MB / 0.909 GB, free: 5.426 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/1.035, allocations: 0.6734 MB / 0.9097 GB, free: 4.621 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006124/1.041, allocations: 2.374 MB / 0.912 GB, free: 2.211 MB / 0.67 GB Notification: Performance of pre-optimization done (n=257): time 5.48e-06/1.041, allocations: 0 / 0.912 GB, free: 2.211 MB / 0.67 GB Notification: Performance of matching and sorting (n=257): time 0.01972/1.061, allocations: 6.956 MB / 0.9188 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001716/1.061, allocations: 214 kB / 0.919 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004067/1.065, allocations: 2.303 MB / 0.9213 GB, free: 8.543 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0005435/1.065, allocations: 73.7 kB / 0.9213 GB, free: 8.465 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001462/1.067, allocations: 1.328 MB / 0.9226 GB, free: 7.121 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001365/1.068, allocations: 0.8869 MB / 0.9235 GB, free: 6.227 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001553/1.07, allocations: 468.1 kB / 0.9239 GB, free: 5.762 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.07, allocations: 305.1 kB / 0.9242 GB, free: 5.461 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005048/1.075, allocations: 1.87 MB / 0.926 GB, free: 3.586 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005498/1.081, allocations: 2.192 MB / 0.9282 GB, free: 1.305 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/1.091, allocations: 4.041 MB / 0.9321 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/1.091, allocations: 0 / 0.9321 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01363/1.105, allocations: 4.656 MB / 0.9367 GB, free: 8.461 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.822e-05/1.105, allocations: 8 kB / 0.9367 GB, free: 8.453 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/1.105, allocations: 4 kB / 0.9367 GB, free: 8.449 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007377/1.106, allocations: 240.9 kB / 0.9369 GB, free: 8.211 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004309/1.11, allocations: 0.7643 MB / 0.9377 GB, free: 7.445 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005035/1.115, allocations: 3.384 MB / 0.941 GB, free: 3.926 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004179/1.119, allocations: 0.5275 MB / 0.9415 GB, free: 3.398 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007655/1.12, allocations: 107.9 kB / 0.9416 GB, free: 3.293 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.003184/1.123, allocations: 0.8836 MB / 0.9425 GB, free: 2.398 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001433/1.125, allocations: 274.2 kB / 0.9427 GB, free: 2.129 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01561/1.14, allocations: 5.274 MB / 0.9479 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.738e-05/1.14, allocations: 28 kB / 0.9479 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/1.14, allocations: 0 / 0.9479 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-05/1.141, allocations: 19.89 kB / 0.9479 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02253/1.163, allocations: 8.815 MB / 0.9565 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/1.163, allocations: 0 / 0.9565 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00385/1.167, allocations: 0.7215 MB / 0.9572 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009304/1.168, allocations: 266.3 kB / 0.9575 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004083/1.168, allocations: 67.94 kB / 0.9575 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006031/1.174, allocations: 5.241 MB / 0.9627 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.174, allocations: 0 / 0.9627 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0201/1.195, allocations: 7.546 MB / 0.97 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002314/1.197, allocations: 0.7916 MB / 0.9708 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001004/1.198, allocations: 55.94 kB / 0.9709 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003606/1.202, allocations: 385 kB / 0.9712 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006542/1.202, allocations: 173.9 kB / 0.9714 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004818/1.203, allocations: 95.92 kB / 0.9715 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003239/1.206, allocations: 1.688 MB / 0.9731 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.22e-07/1.206, allocations: 0 / 0.9731 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003713/1.21, allocations: 0.9779 MB / 0.9741 GB, free: 1.355 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.02348/1.233, allocations: 9.035 MB / 0.9829 GB, free: 8.621 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01291/1.246, allocations: 4.553 MB / 0.9874 GB, free: 4.02 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/1.246, allocations: 0 / 0.9874 GB, free: 4.02 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.006886/1.253, allocations: 2.616 MB / 0.9899 GB, free: 1.371 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004228/1.257, allocations: 0.6418 MB / 0.9905 GB, free: 0.7578 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06679/1.324, allocations: 27.67 MB / 1.018 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003065/1.327, allocations: 2.37 MB / 1.02 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00439/1.332, allocations: 1.086 MB / 1.021 GB, free: 1.219 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002914/1.335, allocations: 1.362 MB / 1.022 GB, free: 15.86 MB / 0.795 GB Notification: Performance of SimCode: time 8.82e-07/1.335, allocations: 4 kB / 1.022 GB, free: 15.85 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5503/1.885, allocations: 66.39 MB / 1.087 GB, free: 301.2 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.39/20.27, allocations: 13.39 kB / 1.087 GB, free: 301.2 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)