Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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: translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 112.5 kB / 15.73 MB, free: 76 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.001373/0.001373, allocations: 189.5 kB / 16.67 MB, free: 6.57 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9996/0.9996, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 59.91 kB / 0.5856 GB, free: 3.367 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5224/0.5239, allocations: 80.91 MB / 0.6646 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.2063/0.7302, allocations: 161.8 MB / 0.8226 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.04375/0.774, allocations: 27.05 MB / 0.849 GB, free: 4.172 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004921/0.779, allocations: 79.62 kB / 0.8491 GB, free: 4.094 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003371/0.7824, allocations: 1.064 MB / 0.8501 GB, free: 3.023 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006722/0.7892, allocations: 1.751 MB / 0.8518 GB, free: 1.266 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005468/0.7947, allocations: 1.803 MB / 0.8536 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008218/0.8029, allocations: 5.221 MB / 0.8587 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009804/0.8127, allocations: 4.501 MB / 0.8631 GB, free: 5.672 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007156/0.82, allocations: 2.134 MB / 0.8651 GB, free: 3.531 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005055/0.8251, allocations: 2.59 MB / 0.8677 GB, free: 0.9336 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001861/0.827, allocations: 484 kB / 0.8681 GB, free: 472 kB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4675/1.294, allocations: 1.082 MB / 0.8692 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001797/1.296, allocations: 1.243 MB / 0.8704 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004289/1.301, allocations: 2.179 MB / 0.8725 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009853/1.31, allocations: 6.233 MB / 0.8786 GB, free: 11 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.471e-05/1.311, allocations: 3.578 kB / 0.8786 GB, free: 11 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.304e-06/1.311, allocations: 4.875 kB / 0.8786 GB, free: 11 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002418/1.311, allocations: 0.8125 kB / 0.8786 GB, free: 11 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: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.01647/1.327, allocations: 4.868 MB / 0.8834 GB, free: 9.035 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/1.327, allocations: 10.41 kB / 0.8834 GB, free: 9.035 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01497/1.342, allocations: 2.819 MB / 0.8861 GB, free: 8.789 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006781/1.349, allocations: 2.41 MB / 0.8885 GB, free: 8.145 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003109/1.35, allocations: 259.1 kB / 0.8887 GB, free: 8.137 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001858/1.351, allocations: 338.5 kB / 0.8891 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01603/1.367, allocations: 5.387 MB / 0.8943 GB, free: 7.863 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001008/1.368, allocations: 1.344 kB / 0.8943 GB, free: 7.863 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006705/1.368, allocations: 142.8 kB / 0.8945 GB, free: 7.863 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.946e-05/1.368, allocations: 87.25 kB / 0.8946 GB, free: 7.863 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01671/1.385, allocations: 6.525 MB / 0.9009 GB, free: 7.832 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.03443/1.42, allocations: 15.66 MB / 0.9162 GB, free: 3.539 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/1.43, allocations: 4.08 MB / 0.9202 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006208/1.437, allocations: 2.65 MB / 0.9228 GB, free: 3.449 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/1.438, allocations: 0.6713 MB / 0.9234 GB, free: 2.789 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00709/1.445, allocations: 2.571 MB / 0.926 GB, free: 2.18 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=288): time 8.145e-06/1.445, allocations: 0 / 0.926 GB, free: 2.18 MB / 0.6856 GB Notification: Performance of matching and sorting (n=288): time 0.02521/1.47, allocations: 8.432 MB / 0.9342 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000162/1.47, allocations: 208.8 kB / 0.9344 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00531/1.476, allocations: 2.516 MB / 0.9368 GB, free: 15 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.001004/1.477, allocations: 79.05 kB / 0.9369 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001731/1.478, allocations: 1.458 MB / 0.9383 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001875/1.48, allocations: 1.006 MB / 0.9393 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002513/1.483, allocations: 0.5097 MB / 0.9398 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001094/1.483, allocations: 303.1 kB / 0.9401 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005337/1.488, allocations: 2.055 MB / 0.9421 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005775/1.494, allocations: 2.377 MB / 0.9444 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0119/1.506, allocations: 4.43 MB / 0.9488 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-05/1.506, allocations: 0 / 0.9488 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01675/1.523, allocations: 5.336 MB / 0.954 GB, free: 2.469 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.586e-05/1.523, allocations: 8.156 kB / 0.954 GB, free: 2.461 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/1.523, allocations: 8 kB / 0.954 GB, free: 2.453 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001699/1.525, allocations: 0.5415 MB / 0.9545 GB, free: 1.91 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005217/1.53, allocations: 0.7923 MB / 0.9553 GB, free: 1.145 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009154/1.539, allocations: 5.735 MB / 0.9609 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005147/1.544, allocations: 0.5563 MB / 0.9614 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001167/1.545, allocations: 112 kB / 0.9615 GB, free: 10.62 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: 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 (282): * Single equations (assignments): 281 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004644/1.55, allocations: 0.9754 MB / 0.9625 GB, free: 9.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001953/1.552, allocations: 302 kB / 0.9628 GB, free: 9.363 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01895/1.571, allocations: 5.886 MB / 0.9685 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.746e-05/1.571, allocations: 35.94 kB / 0.9686 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.383e-05/1.571, allocations: 4 kB / 0.9686 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.36e-05/1.571, allocations: 15.95 kB / 0.9686 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02705/1.598, allocations: 9.879 MB / 0.9782 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.447e-05/1.598, allocations: 4 kB / 0.9782 GB, free: 9.492 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004772/1.603, allocations: 0.7503 MB / 0.979 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001856/1.605, allocations: 0.5271 MB / 0.9795 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009899/1.606, allocations: 79.92 kB / 0.9796 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01028/1.616, allocations: 7.552 MB / 0.9869 GB, free: 336 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.616, allocations: 4 kB / 0.9869 GB, free: 332 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02358/1.64, allocations: 8.415 MB / 0.9952 GB, free: 7.852 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003068/1.643, allocations: 0.8614 MB / 0.996 GB, free: 6.969 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00189/1.645, allocations: 67.88 kB / 0.9961 GB, free: 6.902 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004588/1.65, allocations: 400.7 kB / 0.9964 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000999/1.651, allocations: 190.1 kB / 0.9966 GB, free: 6.324 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007288/1.651, allocations: 95.94 kB / 0.9967 GB, free: 6.23 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.004538/1.656, allocations: 1.838 MB / 0.9985 GB, free: 4.383 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.51e-07/1.656, allocations: 3.75 kB / 0.9985 GB, free: 4.383 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.006369/1.662, allocations: 1.111 MB / 0.9996 GB, free: 3.27 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (260): * Single equations (assignments): 253 * 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 {(4,36,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.003824/1.666, allocations: 1.044 MB / 1.001 GB, free: 2.633 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01491/1.681, allocations: 5.119 MB / 1.006 GB, free: 13.51 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/1.681, allocations: 0 / 1.006 GB, free: 13.51 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00913/1.69, allocations: 2.95 MB / 1.009 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006546/1.697, allocations: 0.7186 MB / 1.009 GB, free: 9.898 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02276/1.72, allocations: 8.395 MB / 1.017 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004238/1.724, allocations: 2.554 MB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.006456/1.73, allocations: 1.13 MB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002282/1.733, allocations: 267.2 kB / 1.021 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of SimCode: time 9.42e-07/1.733, allocations: 4 kB / 1.021 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of Templates: time 0.0935/1.826, allocations: 50.59 MB / 1.071 GB, free: 11.43 MB / 0.8262 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)