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.006158/0.006158, allocations: 98.25 kB / 15.73 MB, free: 6.055 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.001503/0.001503, allocations: 195.4 kB / 16.68 MB, free: 5.969 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.94/0.94, allocations: 135.6 MB / 426.1 MB, free: 3.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 71.23 kB / 0.5857 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1765, allocations: 81.03 MB / 0.6648 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.5916/0.7682, allocations: 160.1 MB / 0.8212 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03738/0.8056, allocations: 26.61 MB / 0.8472 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00311/0.8088, allocations: 71.41 kB / 0.8473 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002336/0.8112, allocations: 0.9755 MB / 0.8482 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004854/0.816, allocations: 1.613 MB / 0.8498 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004387/0.8204, allocations: 1.649 MB / 0.8514 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00597/0.8264, allocations: 4.568 MB / 0.8559 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005127/0.8316, allocations: 4.099 MB / 0.8599 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003549/0.8352, allocations: 1.927 MB / 0.8617 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00354/0.8387, allocations: 2.343 MB / 0.864 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0008269/0.8396, allocations: 424 kB / 0.8644 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002412/0.842, allocations: 1.03 MB / 0.8654 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001173/0.8432, allocations: 1.106 MB / 0.8665 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002533/0.8457, allocations: 1.936 MB / 0.8684 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007931/0.8536, allocations: 5.532 MB / 0.8738 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.8537, allocations: 0 / 0.8738 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.585e-06/0.8537, allocations: 0 / 0.8738 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001542/0.8539, allocations: 0 / 0.8738 GB, free: 8.309 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.01008/0.8639, allocations: 4.429 MB / 0.8781 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.864, allocations: 9.109 kB / 0.8781 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006466/0.8647, allocations: 434.2 kB / 0.8786 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01425/0.8789, allocations: 2.774 MB / 0.8813 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00475/0.8837, allocations: 2.224 MB / 0.8834 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001939/0.8839, allocations: 230.2 kB / 0.8837 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006819/0.8846, allocations: 304 kB / 0.8839 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01217/0.8968, allocations: 4.963 MB / 0.8888 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-05/0.8969, allocations: 7.953 kB / 0.8888 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003707/0.8973, allocations: 124 kB / 0.8889 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-05/0.8974, allocations: 79.94 kB / 0.889 GB, free: 8.523 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01636/0.9137, allocations: 6.107 MB / 0.895 GB, free: 2.402 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.02989/0.9437, allocations: 13.57 MB / 0.9082 GB, free: 4.398 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01146/0.9552, allocations: 4.344 MB / 0.9124 GB, free: 56 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005824/0.961, allocations: 2.316 MB / 0.9147 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00115/0.9622, allocations: 0.6775 MB / 0.9154 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006468/0.9687, allocations: 2.374 MB / 0.9177 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=257): time 5.991e-06/0.9687, allocations: 0 / 0.9177 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of matching and sorting (n=257): time 0.02031/0.989, allocations: 6.948 MB / 0.9245 GB, free: 3.445 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000166/0.9892, allocations: 206 kB / 0.9247 GB, free: 3.199 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004562/0.9938, allocations: 2.315 MB / 0.9269 GB, free: 0.8516 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0005095/0.9944, allocations: 73.69 kB / 0.927 GB, free: 0.7734 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001577/0.996, allocations: 1.328 MB / 0.9283 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001366/0.9973, allocations: 0.8947 MB / 0.9292 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001348/0.9987, allocations: 460.1 kB / 0.9296 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.9988, allocations: 301.1 kB / 0.9299 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005004/1.004, allocations: 1.874 MB / 0.9317 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00545/1.009, allocations: 2.184 MB / 0.9339 GB, free: 9.621 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01034/1.02, allocations: 4.041 MB / 0.9378 GB, free: 5.488 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/1.02, allocations: 0 / 0.9378 GB, free: 5.488 MB / 0.7012 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01288/1.033, allocations: 4.668 MB / 0.9424 GB, free: 0.7656 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/1.033, allocations: 7.984 kB / 0.9424 GB, free: 0.7578 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/1.033, allocations: 4 kB / 0.9424 GB, free: 0.7539 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007839/1.033, allocations: 232.8 kB / 0.9426 GB, free: 0.5234 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004282/1.038, allocations: 0.7683 MB / 0.9433 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004861/1.043, allocations: 3.375 MB / 0.9466 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004094/1.047, allocations: 0.5254 MB / 0.9472 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007004/1.048, allocations: 103.9 kB / 0.9473 GB, free: 11.61 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 (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.002597/1.05, allocations: 0.8927 MB / 0.9481 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001069/1.051, allocations: 278.2 kB / 0.9484 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01527/1.067, allocations: 5.259 MB / 0.9535 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.018e-05/1.067, allocations: 28 kB / 0.9536 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/1.067, allocations: 4 kB / 0.9536 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.873e-05/1.067, allocations: 15.89 kB / 0.9536 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02166/1.088, allocations: 8.819 MB / 0.9622 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/1.088, allocations: 8 kB / 0.9622 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003996/1.092, allocations: 0.7176 MB / 0.9629 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009893/1.093, allocations: 263.8 kB / 0.9631 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005499/1.094, allocations: 75.92 kB / 0.9632 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006305/1.1, allocations: 5.245 MB / 0.9683 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/1.1, allocations: 3.938 kB / 0.9683 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01971/1.12, allocations: 7.542 MB / 0.9757 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001925/1.122, allocations: 0.7874 MB / 0.9765 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007734/1.123, allocations: 51.95 kB / 0.9765 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003337/1.126, allocations: 395.4 kB / 0.9769 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005096/1.127, allocations: 161.9 kB / 0.9771 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003531/1.127, allocations: 95.92 kB / 0.9772 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003085/1.13, allocations: 1.692 MB / 0.9788 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/1.13, allocations: 0 / 0.9788 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003129/1.133, allocations: 0.9702 MB / 0.9798 GB, free: 9.68 MB / 0.7481 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.02319/1.156, allocations: 9.042 MB / 0.9886 GB, free: 0.8789 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01313/1.17, allocations: 4.557 MB / 0.993 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/1.17, allocations: 4 kB / 0.993 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.006735/1.176, allocations: 2.608 MB / 0.9956 GB, free: 9.633 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003988/1.18, allocations: 0.6371 MB / 0.9962 GB, free: 9.027 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06869/1.249, allocations: 27.69 MB / 1.023 GB, free: 12.96 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003056/1.252, allocations: 2.366 MB / 1.026 GB, free: 10.56 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00466/1.257, allocations: 1.084 MB / 1.027 GB, free: 9.477 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002975/1.26, allocations: 1.366 MB / 1.028 GB, free: 8.109 MB / 0.795 GB Notification: Performance of SimCode: time 8.91e-07/1.26, allocations: 0 / 1.028 GB, free: 8.109 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4919/1.752, allocations: 66.39 MB / 1.093 GB, free: 312.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.58/20.33, allocations: 16.53 kB / 1.093 GB, free: 312.7 MB / 0.8262 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3600 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)