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.006366/0.006366, allocations: 97.59 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.001188/0.001188, allocations: 185.7 kB / 16.67 MB, free: 5.93 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.001/1.001, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 71.89 kB / 0.5851 GB, free: 3.879 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5201/0.5216, allocations: 80.91 MB / 0.6641 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1998/0.7215, allocations: 160.1 MB / 0.8205 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03575/0.7573, allocations: 26.59 MB / 0.8465 GB, free: 6.211 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004071/0.7614, allocations: 71.62 kB / 0.8465 GB, free: 6.141 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002548/0.764, allocations: 0.9869 MB / 0.8475 GB, free: 5.148 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005453/0.7695, allocations: 1.646 MB / 0.8491 GB, free: 3.496 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004573/0.7741, allocations: 1.646 MB / 0.8507 GB, free: 1.859 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006472/0.7806, allocations: 4.566 MB / 0.8552 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005832/0.7864, allocations: 4.102 MB / 0.8592 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004032/0.7905, allocations: 1.967 MB / 0.8611 GB, free: 7.145 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003175/0.7937, allocations: 2.343 MB / 0.8634 GB, free: 4.793 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007175/0.7944, allocations: 424 kB / 0.8638 GB, free: 4.379 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002352/0.7968, allocations: 1.03 MB / 0.8648 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.7978, allocations: 1.114 MB / 0.8659 GB, free: 2.23 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002128/0.7999, allocations: 1.928 MB / 0.8678 GB, free: 300 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.5482/1.348, allocations: 5.526 MB / 0.8732 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/1.348, allocations: 1.219 kB / 0.8732 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.623e-06/1.348, allocations: 0 / 0.8732 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001714/1.348, allocations: 0 / 0.8732 GB, free: 12.29 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: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.01206/1.36, allocations: 4.426 MB / 0.8775 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.843e-05/1.361, allocations: 10.28 kB / 0.8775 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007617/1.361, allocations: 435.5 kB / 0.8779 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01451/1.376, allocations: 2.769 MB / 0.8806 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004933/1.381, allocations: 2.231 MB / 0.8828 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/1.381, allocations: 233.5 kB / 0.883 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00063/1.382, allocations: 297.7 kB / 0.8833 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01084/1.393, allocations: 4.965 MB / 0.8882 GB, free: 9.359 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.237e-05/1.393, allocations: 1.25 kB / 0.8882 GB, free: 9.359 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003528/1.393, allocations: 125.3 kB / 0.8883 GB, free: 9.359 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-05/1.393, allocations: 76.69 kB / 0.8884 GB, free: 9.359 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01469/1.408, allocations: 6.109 MB / 0.8943 GB, free: 9.328 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.02714/1.435, allocations: 13.56 MB / 0.9076 GB, free: 6.055 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/1.446, allocations: 4.357 MB / 0.9118 GB, free: 5.984 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00506/1.451, allocations: 2.319 MB / 0.9141 GB, free: 5.969 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008519/1.452, allocations: 0.6709 MB / 0.9147 GB, free: 5.309 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005373/1.457, allocations: 2.374 MB / 0.9171 GB, free: 5.211 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=257): time 5.05e-06/1.457, allocations: 1.094 kB / 0.9171 GB, free: 5.211 MB / 0.6856 GB Notification: Performance of matching and sorting (n=257): time 0.01716/1.474, allocations: 6.946 MB / 0.9238 GB, free: 3.598 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.56e-05/1.474, allocations: 214.2 kB / 0.924 GB, free: 3.371 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004583/1.479, allocations: 2.313 MB / 0.9263 GB, free: 2.797 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004175/1.479, allocations: 71.39 kB / 0.9264 GB, free: 2.766 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001319/1.481, allocations: 1.331 MB / 0.9277 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009583/1.482, allocations: 0.8879 MB / 0.9285 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00124/1.483, allocations: 465.8 kB / 0.929 GB, free: 1.367 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 4.775e-05/1.483, allocations: 302.2 kB / 0.9293 GB, free: 1.07 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004324/1.487, allocations: 1.871 MB / 0.9311 GB, free: 0.6367 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00472/1.492, allocations: 2.191 MB / 0.9332 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009463/1.502, allocations: 4.038 MB / 0.9372 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.609e-05/1.502, allocations: 0 / 0.9372 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01155/1.513, allocations: 4.667 MB / 0.9417 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/1.513, allocations: 8 kB / 0.9417 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/1.513, allocations: 4 kB / 0.9418 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006903/1.514, allocations: 236.2 kB / 0.942 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004014/1.518, allocations: 0.7623 MB / 0.9427 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004336/1.522, allocations: 3.376 MB / 0.946 GB, free: 9.195 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004124/1.526, allocations: 0.5292 MB / 0.9465 GB, free: 8.664 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005731/1.527, allocations: 101.1 kB / 0.9466 GB, free: 8.566 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.002759/1.53, allocations: 0.8934 MB / 0.9475 GB, free: 7.691 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001233/1.531, allocations: 274.2 kB / 0.9478 GB, free: 7.422 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01432/1.545, allocations: 5.264 MB / 0.9529 GB, free: 2.102 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-05/1.545, allocations: 24 kB / 0.9529 GB, free: 2.078 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/1.545, allocations: 4 kB / 0.9529 GB, free: 2.074 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.731e-05/1.546, allocations: 11.95 kB / 0.9529 GB, free: 2.062 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02131/1.567, allocations: 8.836 MB / 0.9616 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/1.567, allocations: 0 / 0.9616 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003866/1.571, allocations: 0.7198 MB / 0.9623 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008582/1.572, allocations: 266.6 kB / 0.9625 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003575/1.572, allocations: 75.94 kB / 0.9626 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0056/1.578, allocations: 5.235 MB / 0.9677 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.578, allocations: 0 / 0.9677 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01945/1.597, allocations: 7.543 MB / 0.9751 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003208/1.6, allocations: 0.7886 MB / 0.9759 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001082/1.601, allocations: 63.89 kB / 0.9759 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003804/1.605, allocations: 390.1 kB / 0.9763 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005499/1.606, allocations: 161.9 kB / 0.9764 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003763/1.606, allocations: 95.92 kB / 0.9765 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003918/1.61, allocations: 1.696 MB / 0.9782 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.2e-07/1.61, allocations: 0 / 0.9782 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0042/1.614, allocations: 0.9713 MB / 0.9791 GB, free: 6.832 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.02068/1.635, allocations: 9.026 MB / 0.988 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01169/1.647, allocations: 4.557 MB / 0.9924 GB, free: 9.559 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/1.647, allocations: 0 / 0.9924 GB, free: 9.559 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.006157/1.653, allocations: 2.611 MB / 0.995 GB, free: 6.965 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004711/1.658, allocations: 0.6464 MB / 0.9956 GB, free: 6.355 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06551/1.723, allocations: 27.68 MB / 1.023 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003702/1.727, allocations: 2.366 MB / 1.025 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00529/1.732, allocations: 1.084 MB / 1.026 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003566/1.736, allocations: 1.367 MB / 1.027 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of SimCode: time 2.405e-06/1.736, allocations: 0 / 1.027 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1306/1.867, allocations: 66.41 MB / 1.092 GB, free: 3.738 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.27/20.14, allocations: 4 kB / 1.092 GB, free: 3.734 MB / 0.8419 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)