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.001281/0.001281, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001347/0.001347, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8365/0.8365, allocations: 132.2 MB / 423.3 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 63.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3937, allocations: 80.19 MB / 0.5815 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1707/0.5644, allocations: 160.1 MB / 0.7379 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4269/0.9914, allocations: 26.59 MB / 0.7638 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004215/0.9956, allocations: 72.78 kB / 0.7639 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002718/0.9984, allocations: 0.9811 MB / 0.7649 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005758/1.004, allocations: 1.607 MB / 0.7664 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004771/1.009, allocations: 1.648 MB / 0.768 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007925/1.017, allocations: 4.563 MB / 0.7725 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006369/1.023, allocations: 4.101 MB / 0.7765 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005353/1.029, allocations: 1.934 MB / 0.7784 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004739/1.033, allocations: 2.341 MB / 0.7807 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001327/1.035, allocations: 424.5 kB / 0.7811 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003309/1.038, allocations: 1.033 MB / 0.7821 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001207/1.039, allocations: 1.11 MB / 0.7832 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002942/1.042, allocations: 1.927 MB / 0.785 GB, free: 308 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00717/1.049, allocations: 5.506 MB / 0.7904 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/1.05, allocations: 0 / 0.7904 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.683e-06/1.05, allocations: 0.9375 kB / 0.7904 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002277/1.05, allocations: 3.281 kB / 0.7904 GB, free: 15.55 MB / 0.5919 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.0142/1.064, allocations: 4.304 MB / 0.7946 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/1.064, allocations: 11.64 kB / 0.7946 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01346/1.078, allocations: 2.751 MB / 0.7973 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006117/1.084, allocations: 2.205 MB / 0.7995 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002169/1.084, allocations: 236.2 kB / 0.7997 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001111/1.085, allocations: 299.8 kB / 0.8 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01119/1.096, allocations: 4.965 MB / 0.8048 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.077e-05/1.096, allocations: 3.906 kB / 0.8048 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003525/1.097, allocations: 129.2 kB / 0.805 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-05/1.097, allocations: 74.56 kB / 0.805 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01401/1.111, allocations: 6.107 MB / 0.811 GB, free: 10.42 MB / 0.5919 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.02827/1.139, allocations: 13.54 MB / 0.8242 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01001/1.149, allocations: 4.345 MB / 0.8285 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005199/1.154, allocations: 2.315 MB / 0.8307 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009779/1.155, allocations: 0.6728 MB / 0.8314 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005551/1.161, allocations: 2.366 MB / 0.8337 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=257): time 6.172e-06/1.161, allocations: 0 / 0.8337 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=257): time 0.01761/1.179, allocations: 6.948 MB / 0.8405 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/1.179, allocations: 206 kB / 0.8407 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003658/1.182, allocations: 2.315 MB / 0.8429 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0008119/1.183, allocations: 73.7 kB / 0.843 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001307/1.185, allocations: 1.297 MB / 0.8443 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001506/1.186, allocations: 0.8467 MB / 0.8451 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001015/1.187, allocations: 488.1 kB / 0.8456 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.66e-05/1.187, allocations: 301.1 kB / 0.8459 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004498/1.192, allocations: 1.89 MB / 0.8477 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005124/1.197, allocations: 2.19 MB / 0.8498 GB, free: 5.18 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009698/1.207, allocations: 4.063 MB / 0.8538 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.691e-05/1.207, allocations: 11.94 kB / 0.8538 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01225/1.219, allocations: 4.695 MB / 0.8584 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/1.219, allocations: 8 kB / 0.8584 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/1.219, allocations: 7.938 kB / 0.8584 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006363/1.22, allocations: 235.8 kB / 0.8586 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004183/1.224, allocations: 0.7659 MB / 0.8594 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004362/1.228, allocations: 3.372 MB / 0.8627 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005078/1.233, allocations: 0.5207 MB / 0.8632 GB, free: 7.305 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009892/1.234, allocations: 107.9 kB / 0.8633 GB, free: 7.199 MB / 0.6387 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.002961/1.237, allocations: 0.8999 MB / 0.8642 GB, free: 6.316 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009268/1.238, allocations: 260.8 kB / 0.8644 GB, free: 6.059 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/1.25, allocations: 5.257 MB / 0.8696 GB, free: 0.7461 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.684e-05/1.25, allocations: 28 kB / 0.8696 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.25, allocations: 4 kB / 0.8696 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.869e-05/1.251, allocations: 15.89 kB / 0.8696 GB, free: 0.6992 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01768/1.268, allocations: 8.82 MB / 0.8782 GB, free: 7.832 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/1.268, allocations: 0 / 0.8782 GB, free: 7.832 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003649/1.272, allocations: 0.7198 MB / 0.8789 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008041/1.273, allocations: 268.8 kB / 0.8792 GB, free: 6.863 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000255/1.273, allocations: 67.94 kB / 0.8792 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00506/1.278, allocations: 5.237 MB / 0.8844 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.278, allocations: 3.984 kB / 0.8844 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0174/1.295, allocations: 7.525 MB / 0.8917 GB, free: 9.676 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002285/1.298, allocations: 0.7705 MB / 0.8925 GB, free: 8.883 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004861/1.298, allocations: 63.83 kB / 0.8925 GB, free: 8.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002904/1.301, allocations: 383.4 kB / 0.8929 GB, free: 8.445 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003834/1.302, allocations: 165.9 kB / 0.893 GB, free: 8.281 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002513/1.302, allocations: 99.92 kB / 0.8931 GB, free: 8.184 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002277/1.304, allocations: 1.692 MB / 0.8948 GB, free: 6.477 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/1.304, allocations: 0 / 0.8948 GB, free: 6.477 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002633/1.307, allocations: 0.9621 MB / 0.8957 GB, free: 5.512 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.002512/1.309, allocations: 1.036 MB / 0.8967 GB, free: 4.93 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01018/1.32, allocations: 4.592 MB / 0.9012 GB, free: 336 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/1.32, allocations: 0 / 0.9012 GB, free: 336 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005415/1.325, allocations: 2.608 MB / 0.9038 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003067/1.328, allocations: 0.6366 MB / 0.9044 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/1.341, allocations: 7.474 MB / 0.9117 GB, free: 5.645 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001984/1.343, allocations: 2.374 MB / 0.914 GB, free: 3.242 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.003858/1.347, allocations: 1.09 MB / 0.9151 GB, free: 2.152 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/1.348, allocations: 259.2 kB / 0.9153 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of SimCode: time 6.31e-07/1.348, allocations: 0 / 0.9153 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of Templates: time 0.06954/1.418, allocations: 43.46 MB / 0.9578 GB, free: 6.871 MB / 0.7325 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)