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.001257/0.001257, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 197 kB / 16.54 MB, free: 6.672 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9699/0.9699, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 71.89 kB / 0.5054 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.206, allocations: 80.93 MB / 0.5845 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.6057/0.8117, allocations: 160.1 MB / 0.7408 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04207/0.8539, allocations: 26.6 MB / 0.7668 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005001/0.8589, allocations: 71.62 kB / 0.7669 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003056/0.8621, allocations: 0.9752 MB / 0.7678 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006434/0.8685, allocations: 1.605 MB / 0.7694 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005354/0.8739, allocations: 1.645 MB / 0.771 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007387/0.8813, allocations: 4.553 MB / 0.7754 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006046/0.8874, allocations: 4.101 MB / 0.7794 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00481/0.8923, allocations: 1.919 MB / 0.7813 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004986/0.8973, allocations: 2.339 MB / 0.7836 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00141/0.8987, allocations: 428 kB / 0.784 GB, free: 324 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003115/0.9018, allocations: 0.9992 MB / 0.785 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001267/0.9031, allocations: 1.106 MB / 0.7861 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003134/0.9063, allocations: 1.932 MB / 0.7879 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00791/0.9142, allocations: 5.402 MB / 0.7932 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/0.9142, allocations: 0 / 0.7932 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.915e-06/0.9143, allocations: 4 kB / 0.7932 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002045/0.9145, allocations: 0 / 0.7932 GB, free: 6.844 MB / 0.6075 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.01167/0.9262, allocations: 4.323 MB / 0.7975 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.9262, allocations: 12.02 kB / 0.7975 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006767/0.9269, allocations: 434.2 kB / 0.7979 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01387/0.9408, allocations: 2.753 MB / 0.8006 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00557/0.9464, allocations: 2.16 MB / 0.8027 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/0.9467, allocations: 230.2 kB / 0.8029 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001032/0.9477, allocations: 311.9 kB / 0.8032 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01266/0.9604, allocations: 4.959 MB / 0.808 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.238e-05/0.9605, allocations: 4 kB / 0.808 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004494/0.961, allocations: 128 kB / 0.8082 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.576e-05/0.9611, allocations: 83.92 kB / 0.8082 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01639/0.9775, allocations: 6.107 MB / 0.8142 GB, free: 1.125 MB / 0.6231 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.03385/1.011, allocations: 13.63 MB / 0.8275 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01244/1.024, allocations: 4.348 MB / 0.8318 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006241/1.03, allocations: 2.319 MB / 0.834 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0013/1.032, allocations: 0.6696 MB / 0.8347 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007826/1.039, allocations: 2.374 MB / 0.837 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=257): time 1.205e-05/1.039, allocations: 0 / 0.837 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of matching and sorting (n=257): time 0.02242/1.062, allocations: 6.939 MB / 0.8438 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001608/1.062, allocations: 210 kB / 0.844 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005071/1.067, allocations: 2.307 MB / 0.8462 GB, free: 15.52 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0008393/1.068, allocations: 69.7 kB / 0.8463 GB, free: 15.45 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001708/1.07, allocations: 1.309 MB / 0.8476 GB, free: 14.12 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.00168/1.071, allocations: 0.8509 MB / 0.8484 GB, free: 13.25 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002105/1.074, allocations: 460 kB / 0.8488 GB, free: 12.8 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.00014/1.074, allocations: 305.1 kB / 0.8491 GB, free: 12.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005232/1.079, allocations: 1.874 MB / 0.851 GB, free: 10.62 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005389/1.084, allocations: 2.18 MB / 0.8531 GB, free: 8.348 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/1.095, allocations: 4.037 MB / 0.857 GB, free: 4.219 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.985e-05/1.095, allocations: 4 kB / 0.857 GB, free: 4.215 MB / 0.67 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.361/1.456, allocations: 4.646 MB / 0.8616 GB, free: 215.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/1.456, allocations: 12.72 kB / 0.8616 GB, free: 215.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/1.456, allocations: 3.938 kB / 0.8616 GB, free: 215.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006507/1.457, allocations: 234.8 kB / 0.8618 GB, free: 215.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004132/1.461, allocations: 0.7658 MB / 0.8626 GB, free: 215.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003903/1.465, allocations: 3.374 MB / 0.8659 GB, free: 214 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004355/1.469, allocations: 0.5172 MB / 0.8664 GB, free: 214 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004105/1.47, allocations: 103.2 kB / 0.8665 GB, free: 214 MB / 0.67 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.002096/1.472, allocations: 0.8903 MB / 0.8673 GB, free: 213.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006383/1.473, allocations: 261.6 kB / 0.8676 GB, free: 213.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/1.484, allocations: 5.264 MB / 0.8727 GB, free: 212.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.849e-05/1.484, allocations: 29.77 kB / 0.8728 GB, free: 212.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.127e-05/1.484, allocations: 9.25 kB / 0.8728 GB, free: 212.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-05/1.484, allocations: 13.19 kB / 0.8728 GB, free: 212.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0177/1.502, allocations: 8.832 MB / 0.8814 GB, free: 209.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/1.502, allocations: 0 / 0.8814 GB, free: 209.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003479/1.506, allocations: 0.7284 MB / 0.8821 GB, free: 209.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007497/1.506, allocations: 258.5 kB / 0.8824 GB, free: 209.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002303/1.507, allocations: 73.16 kB / 0.8824 GB, free: 209 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003949/1.511, allocations: 5.241 MB / 0.8875 GB, free: 204.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.511, allocations: 0 / 0.8875 GB, free: 204.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01678/1.527, allocations: 7.522 MB / 0.8949 GB, free: 202.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002182/1.53, allocations: 0.7761 MB / 0.8956 GB, free: 201.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007037/1.53, allocations: 57.62 kB / 0.8957 GB, free: 201.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00332/1.534, allocations: 392.8 kB / 0.8961 GB, free: 201.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004633/1.534, allocations: 168.8 kB / 0.8962 GB, free: 201.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002617/1.534, allocations: 98 kB / 0.8963 GB, free: 201.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002768/1.537, allocations: 1.691 MB / 0.898 GB, free: 201 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/1.537, allocations: 0 / 0.898 GB, free: 201 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003608/1.541, allocations: 0.9617 MB / 0.8989 GB, free: 200.7 MB / 0.67 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.02217/1.563, allocations: 9.007 MB / 0.9077 GB, free: 197.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02103/1.584, allocations: 7.732 MB / 0.9153 GB, free: 196 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/1.584, allocations: 3.812 kB / 0.9153 GB, free: 196 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006966/1.591, allocations: 2.608 MB / 0.9178 GB, free: 195.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0036/1.595, allocations: 0.6461 MB / 0.9184 GB, free: 194.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05341/1.648, allocations: 30.41 MB / 0.9481 GB, free: 173.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001693/1.65, allocations: 2.373 MB / 0.9505 GB, free: 170.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004309/1.654, allocations: 1.098 MB / 0.9515 GB, free: 169.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002081/1.656, allocations: 1.366 MB / 0.9529 GB, free: 168.2 MB / 0.67 GB Notification: Performance of SimCode: time 1.182e-06/1.656, allocations: 0 / 0.9529 GB, free: 168.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1635/1.82, allocations: 65.57 MB / 1.017 GB, free: 103.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/14.93, allocations: 8.047 kB / 1.017 GB, free: 103.1 MB / 0.67 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)