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: translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006221/0.006221, allocations: 108.4 kB / 15.74 MB, free: 6.453 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.001443/0.001443, allocations: 196.6 kB / 16.67 MB, free: 6.355 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.494/1.494, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8942/0.8942, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 67.06 kB / 0.5813 GB, free: 0.875 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2155, allocations: 80.21 MB / 0.6596 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.718/0.9336, allocations: 160.1 MB / 0.816 GB, free: 3.441 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03946/0.9731, allocations: 26.6 MB / 0.842 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004796/0.9779, allocations: 71.06 kB / 0.842 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002875/0.9809, allocations: 0.9853 MB / 0.843 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006319/0.9872, allocations: 1.637 MB / 0.8446 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005542/0.9928, allocations: 1.646 MB / 0.8462 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006728/0.9995, allocations: 4.573 MB / 0.8507 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007114/1.007, allocations: 4.097 MB / 0.8547 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005273/1.012, allocations: 1.967 MB / 0.8566 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004515/1.017, allocations: 2.346 MB / 0.8589 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00176/1.018, allocations: 425.1 kB / 0.8593 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004112/1.022, allocations: 1.023 MB / 0.8603 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002091/1.025, allocations: 1.105 MB / 0.8614 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004949/1.03, allocations: 1.926 MB / 0.8633 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009058/1.039, allocations: 5.513 MB / 0.8686 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/1.039, allocations: 0 / 0.8686 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.844e-06/1.039, allocations: 0.7812 kB / 0.8686 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002447/1.039, allocations: 0 / 0.8686 GB, free: 0.8438 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.01521/1.054, allocations: 4.311 MB / 0.8729 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/1.054, allocations: 11.12 kB / 0.8729 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01483/1.069, allocations: 2.754 MB / 0.8756 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006041/1.075, allocations: 2.203 MB / 0.8777 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000226/1.075, allocations: 231.2 kB / 0.8779 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00141/1.077, allocations: 306.7 kB / 0.8782 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01558/1.092, allocations: 4.968 MB / 0.8831 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.625e-05/1.092, allocations: 0 / 0.8831 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008851/1.093, allocations: 126.9 kB / 0.8832 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.398e-05/1.093, allocations: 78.19 kB / 0.8833 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01634/1.11, allocations: 6.104 MB / 0.8892 GB, free: 7.414 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.02969/1.14, allocations: 13.55 MB / 0.9025 GB, free: 12.05 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0152/1.155, allocations: 4.34 MB / 0.9067 GB, free: 7.715 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008489/1.163, allocations: 2.326 MB / 0.909 GB, free: 5.395 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001412/1.165, allocations: 0.666 MB / 0.9096 GB, free: 4.613 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008781/1.174, allocations: 2.377 MB / 0.9119 GB, free: 2.203 MB / 0.67 GB Notification: Performance of pre-optimization done (n=257): time 7.634e-06/1.174, allocations: 0 / 0.9119 GB, free: 2.203 MB / 0.67 GB Notification: Performance of matching and sorting (n=257): time 0.02817/1.202, allocations: 6.939 MB / 0.9187 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/1.202, allocations: 210 kB / 0.9189 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005513/1.207, allocations: 2.318 MB / 0.9212 GB, free: 8.555 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.001301/1.209, allocations: 69.7 kB / 0.9212 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001943/1.211, allocations: 1.294 MB / 0.9225 GB, free: 7.168 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.002002/1.213, allocations: 0.8541 MB / 0.9233 GB, free: 6.324 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002683/1.215, allocations: 472.2 kB / 0.9238 GB, free: 5.855 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.216, allocations: 315.3 kB / 0.9241 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007753/1.223, allocations: 1.89 MB / 0.9259 GB, free: 3.652 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005758/1.229, allocations: 2.188 MB / 0.9281 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01091/1.24, allocations: 4.069 MB / 0.932 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-05/1.24, allocations: 4 kB / 0.9321 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01381/1.254, allocations: 4.699 MB / 0.9366 GB, free: 8.52 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/1.254, allocations: 7.938 kB / 0.9367 GB, free: 8.512 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/1.254, allocations: 4 kB / 0.9367 GB, free: 8.508 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000738/1.255, allocations: 228.9 kB / 0.9369 GB, free: 8.281 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004513/1.259, allocations: 0.7729 MB / 0.9376 GB, free: 7.535 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00457/1.264, allocations: 3.377 MB / 0.9409 GB, free: 4.035 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00437/1.268, allocations: 0.5185 MB / 0.9414 GB, free: 3.516 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008124/1.269, allocations: 107.9 kB / 0.9415 GB, free: 3.41 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: 13 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (272): * Single equations (assignments): 271 * 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.003075/1.272, allocations: 0.8937 MB / 0.9424 GB, free: 2.531 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001236/1.274, allocations: 264.7 kB / 0.9427 GB, free: 2.27 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01539/1.289, allocations: 5.258 MB / 0.9478 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-05/1.289, allocations: 28 kB / 0.9478 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-05/1.289, allocations: 7.938 kB / 0.9478 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.848e-05/1.289, allocations: 15.05 kB / 0.9478 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02159/1.311, allocations: 8.812 MB / 0.9564 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/1.311, allocations: 0 / 0.9564 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004285/1.315, allocations: 0.7251 MB / 0.9572 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009158/1.316, allocations: 258.4 kB / 0.9574 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006344/1.317, allocations: 75.94 kB / 0.9575 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005507/1.322, allocations: 5.227 MB / 0.9626 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.322, allocations: 4 kB / 0.9626 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02066/1.343, allocations: 7.533 MB / 0.9699 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002148/1.345, allocations: 0.7666 MB / 0.9707 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001029/1.346, allocations: 59.84 kB / 0.9707 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003738/1.35, allocations: 393.8 kB / 0.9711 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006277/1.351, allocations: 169.1 kB / 0.9713 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004383/1.351, allocations: 95.88 kB / 0.9714 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003333/1.354, allocations: 1.688 MB / 0.973 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.7e-07/1.354, allocations: 0 / 0.973 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003957/1.358, allocations: 0.9699 MB / 0.974 GB, free: 1.715 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.003177/1.361, allocations: 1.032 MB / 0.975 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01307/1.375, allocations: 4.588 MB / 0.9795 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/1.375, allocations: 0 / 0.9795 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.007374/1.382, allocations: 2.603 MB / 0.982 GB, free: 9.945 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005956/1.388, allocations: 0.6433 MB / 0.9826 GB, free: 9.355 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0176/1.406, allocations: 7.469 MB / 0.9899 GB, free: 1.855 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003019/1.409, allocations: 2.374 MB / 0.9922 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.005249/1.414, allocations: 1.087 MB / 0.9933 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001733/1.416, allocations: 263.2 kB / 0.9936 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of SimCode: time 1.172e-06/1.416, allocations: 0 / 0.9936 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of Templates: time 0.07996/1.496, allocations: 44.12 MB / 1.037 GB, free: 2.43 MB / 0.795 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (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 & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)