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.007287/0.007288, allocations: 100.5 kB / 15.73 MB, free: 6.031 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.001215/0.001215, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7907/0.7907, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 55.91 kB / 0.5813 GB, free: 7.621 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4977/0.4989, allocations: 80.2 MB / 0.6596 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1728/0.6717, allocations: 160.1 MB / 0.816 GB, free: 5.578 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03828/0.71, allocations: 26.59 MB / 0.842 GB, free: 10.9 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004131/0.7142, allocations: 75.62 kB / 0.8421 GB, free: 10.83 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002803/0.7171, allocations: 0.9869 MB / 0.843 GB, free: 9.836 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005496/0.7226, allocations: 1.629 MB / 0.8446 GB, free: 8.203 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004567/0.7272, allocations: 1.655 MB / 0.8462 GB, free: 6.562 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005907/0.7331, allocations: 4.579 MB / 0.8507 GB, free: 1.973 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005175/0.7383, allocations: 4.09 MB / 0.8547 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003317/0.7416, allocations: 1.979 MB / 0.8566 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003355/0.745, allocations: 2.339 MB / 0.8589 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001106/0.7461, allocations: 424 kB / 0.8593 GB, free: 9.074 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002036/0.7481, allocations: 1.027 MB / 0.8603 GB, free: 8.047 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008947/0.749, allocations: 1.11 MB / 0.8614 GB, free: 6.934 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001897/0.7509, allocations: 1.92 MB / 0.8633 GB, free: 5.004 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.4388/1.19, allocations: 5.51 MB / 0.8687 GB, free: 16.33 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/1.19, allocations: 0.8438 kB / 0.8687 GB, free: 16.33 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.364e-06/1.19, allocations: 0.5 kB / 0.8687 GB, free: 16.33 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002274/1.19, allocations: 0.9375 kB / 0.8687 GB, free: 16.33 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.009021/1.199, allocations: 4.307 MB / 0.8729 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/1.199, allocations: 9.062 kB / 0.8729 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0129/1.212, allocations: 2.747 MB / 0.8756 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004067/1.216, allocations: 2.212 MB / 0.8777 GB, free: 14 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002528/1.216, allocations: 228 kB / 0.8779 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006617/1.217, allocations: 304.1 kB / 0.8782 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01048/1.228, allocations: 4.961 MB / 0.8831 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.934e-05/1.228, allocations: 6.828 kB / 0.8831 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003407/1.228, allocations: 128.4 kB / 0.8832 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.352e-05/1.228, allocations: 74.81 kB / 0.8833 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01542/1.243, allocations: 6.102 MB / 0.8892 GB, free: 13.68 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.02296/1.266, allocations: 13.53 MB / 0.9024 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008527/1.275, allocations: 4.348 MB / 0.9067 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004483/1.28, allocations: 2.318 MB / 0.909 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007621/1.28, allocations: 0.6744 MB / 0.9096 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004516/1.285, allocations: 2.372 MB / 0.9119 GB, free: 9.586 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=257): time 5.26e-06/1.285, allocations: 0 / 0.9119 GB, free: 9.586 MB / 0.6856 GB Notification: Performance of matching and sorting (n=257): time 0.01567/1.301, allocations: 6.945 MB / 0.9187 GB, free: 8.996 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.526e-05/1.301, allocations: 211.1 kB / 0.9189 GB, free: 8.773 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003898/1.305, allocations: 2.307 MB / 0.9212 GB, free: 8.512 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004621/1.305, allocations: 73.73 kB / 0.9212 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001044/1.306, allocations: 1.304 MB / 0.9225 GB, free: 7.855 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009392/1.307, allocations: 0.8456 MB / 0.9233 GB, free: 7.238 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/1.308, allocations: 481.5 kB / 0.9238 GB, free: 7.133 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 4.564e-05/1.308, allocations: 301.1 kB / 0.9241 GB, free: 6.836 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004056/1.312, allocations: 1.896 MB / 0.9259 GB, free: 6.398 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004224/1.316, allocations: 2.189 MB / 0.9281 GB, free: 5.738 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007813/1.324, allocations: 4.06 MB / 0.932 GB, free: 4.766 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.455e-06/1.324, allocations: 0 / 0.932 GB, free: 4.766 MB / 0.6856 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009543/1.334, allocations: 4.706 MB / 0.9366 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/1.334, allocations: 4 kB / 0.9366 GB, free: 3.246 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/1.334, allocations: 7.984 kB / 0.9366 GB, free: 3.238 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005798/1.335, allocations: 233 kB / 0.9369 GB, free: 3.059 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003422/1.338, allocations: 0.7772 MB / 0.9376 GB, free: 2.328 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003446/1.341, allocations: 3.377 MB / 0.9409 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003739/1.345, allocations: 0.5232 MB / 0.9414 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003314/1.346, allocations: 113 kB / 0.9415 GB, free: 15.07 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.001709/1.347, allocations: 0.882 MB / 0.9424 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006676/1.348, allocations: 256.8 kB / 0.9426 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/1.36, allocations: 5.268 MB / 0.9478 GB, free: 9.254 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/1.36, allocations: 24 kB / 0.9478 GB, free: 9.23 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/1.36, allocations: 4 kB / 0.9478 GB, free: 9.227 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/1.36, allocations: 11.95 kB / 0.9478 GB, free: 9.215 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01765/1.377, allocations: 8.825 MB / 0.9564 GB, free: 356 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/1.377, allocations: 0 / 0.9564 GB, free: 356 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003417/1.381, allocations: 0.7184 MB / 0.9571 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000802/1.382, allocations: 271.1 kB / 0.9574 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002353/1.382, allocations: 71.94 kB / 0.9575 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004946/1.387, allocations: 5.233 MB / 0.9626 GB, free: 9.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.387, allocations: 3.75 kB / 0.9626 GB, free: 9.809 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01556/1.402, allocations: 7.534 MB / 0.9699 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001825/1.404, allocations: 0.7704 MB / 0.9707 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004825/1.405, allocations: 63.84 kB / 0.9708 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002835/1.408, allocations: 387.4 kB / 0.9711 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003885/1.408, allocations: 161.9 kB / 0.9713 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000251/1.408, allocations: 91.92 kB / 0.9714 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002545/1.411, allocations: 1.692 MB / 0.973 GB, free: 15 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.21e-07/1.411, allocations: 0.5469 kB / 0.973 GB, free: 15 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002883/1.414, allocations: 0.9712 MB / 0.974 GB, free: 14.02 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.002572/1.416, allocations: 1.021 MB / 0.975 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01016/1.427, allocations: 4.589 MB / 0.9795 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/1.427, allocations: 0 / 0.9795 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005847/1.432, allocations: 2.615 MB / 0.982 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003267/1.436, allocations: 0.6519 MB / 0.9826 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/1.45, allocations: 7.465 MB / 0.9899 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002186/1.452, allocations: 2.37 MB / 0.9922 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003989/1.456, allocations: 1.09 MB / 0.9933 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/1.457, allocations: 255.3 kB / 0.9936 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of SimCode: time 6.11e-07/1.457, allocations: 0 / 0.9936 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of Templates: time 0.07548/1.533, allocations: 44.12 MB / 1.037 GB, free: 14.81 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)