Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006389/0.006389, allocations: 105.3 kB / 15.74 MB, free: 6.441 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.001418/0.001418, allocations: 192.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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9713/0.9713, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.89 kB / 0.5856 GB, free: 3.383 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.4155, allocations: 80.92 MB / 0.6646 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1735/0.589, allocations: 160.8 MB / 0.8216 GB, free: 316 kB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03419/0.6232, allocations: 26.78 MB / 0.8478 GB, free: 5.445 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003365/0.6266, allocations: 75.62 kB / 0.8479 GB, free: 5.371 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00286/0.6296, allocations: 1.022 MB / 0.8488 GB, free: 4.344 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005508/0.6351, allocations: 1.702 MB / 0.8505 GB, free: 2.637 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00456/0.6397, allocations: 1.705 MB / 0.8522 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00648/0.6462, allocations: 4.838 MB / 0.8569 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006046/0.6522, allocations: 4.252 MB / 0.8611 GB, free: 7.77 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003956/0.6562, allocations: 2.044 MB / 0.8631 GB, free: 5.719 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00391/0.6601, allocations: 2.444 MB / 0.8654 GB, free: 3.266 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001185/0.6613, allocations: 448 kB / 0.8659 GB, free: 2.828 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002699/0.664, allocations: 1.058 MB / 0.8669 GB, free: 1.77 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001216/0.6653, allocations: 1.172 MB / 0.868 GB, free: 0.5938 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.417/1.082, allocations: 2.03 MB / 0.87 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008519/1.091, allocations: 5.801 MB / 0.8757 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/1.091, allocations: 0 / 0.8757 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.545e-06/1.091, allocations: 1.281 kB / 0.8757 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001852/1.091, allocations: 0 / 0.8757 GB, free: 11.26 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: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.01208/1.103, allocations: 4.485 MB / 0.8801 GB, free: 9.527 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/1.103, allocations: 9.531 kB / 0.8801 GB, free: 9.527 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01442/1.118, allocations: 2.77 MB / 0.8828 GB, free: 9.316 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006259/1.124, allocations: 2.293 MB / 0.885 GB, free: 8.707 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002525/1.124, allocations: 241.4 kB / 0.8853 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009839/1.125, allocations: 315.4 kB / 0.8856 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01276/1.138, allocations: 5.141 MB / 0.8906 GB, free: 8.43 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-05/1.138, allocations: 0.7812 kB / 0.8906 GB, free: 8.43 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004014/1.139, allocations: 131.3 kB / 0.8907 GB, free: 8.43 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.812e-05/1.139, allocations: 80.73 kB / 0.8908 GB, free: 8.43 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01451/1.153, allocations: 6.288 MB / 0.8969 GB, free: 8.398 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.02249/1.176, allocations: 14.42 MB / 0.911 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008431/1.184, allocations: 4.52 MB / 0.9154 GB, free: 4.617 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004578/1.189, allocations: 2.448 MB / 0.9178 GB, free: 4.598 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007635/1.189, allocations: 0.6707 MB / 0.9185 GB, free: 3.938 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004603/1.194, allocations: 2.465 MB / 0.9209 GB, free: 3.832 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=270): time 4.508e-06/1.194, allocations: 1.875 kB / 0.9209 GB, free: 3.832 MB / 0.6856 GB Notification: Performance of matching and sorting (n=270): time 0.01652/1.211, allocations: 7.533 MB / 0.9282 GB, free: 1.719 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/1.211, allocations: 211.5 kB / 0.9284 GB, free: 1.492 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003105/1.214, allocations: 2.396 MB / 0.9308 GB, free: 0.9062 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0005014/1.214, allocations: 72.89 kB / 0.9308 GB, free: 0.875 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001039/1.215, allocations: 1.351 MB / 0.9322 GB, free: 232 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001137/1.217, allocations: 0.8958 MB / 0.933 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009347/1.218, allocations: 494 kB / 0.9335 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.218, allocations: 309.3 kB / 0.9338 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00412/1.222, allocations: 1.967 MB / 0.9357 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00445/1.226, allocations: 2.268 MB / 0.9379 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008322/1.235, allocations: 4.229 MB / 0.9421 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/1.235, allocations: 4 kB / 0.9421 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.0112/1.246, allocations: 4.966 MB / 0.9469 GB, free: 8.82 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/1.246, allocations: 11.44 kB / 0.9469 GB, free: 8.812 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/1.246, allocations: 4 kB / 0.9469 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008827/1.247, allocations: 354.1 kB / 0.9473 GB, free: 8.461 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003989/1.251, allocations: 0.7845 MB / 0.948 GB, free: 7.703 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005397/1.256, allocations: 4.242 MB / 0.9522 GB, free: 3.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004153/1.26, allocations: 0.533 MB / 0.9527 GB, free: 2.805 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004648/1.261, allocations: 107.9 kB / 0.9528 GB, free: 2.699 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 (278): * Single equations (assignments): 277 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002297/1.263, allocations: 0.9326 MB / 0.9537 GB, free: 1.785 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008284/1.264, allocations: 272.6 kB / 0.954 GB, free: 1.516 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/1.277, allocations: 5.548 MB / 0.9594 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.351e-05/1.277, allocations: 30.3 kB / 0.9594 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/1.277, allocations: 4 kB / 0.9594 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.153e-05/1.277, allocations: 15.94 kB / 0.9594 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01848/1.295, allocations: 9.289 MB / 0.9685 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/1.295, allocations: 0 / 0.9685 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003604/1.299, allocations: 0.7269 MB / 0.9692 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/1.3, allocations: 386.5 kB / 0.9696 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003028/1.3, allocations: 79.94 kB / 0.9697 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006512/1.307, allocations: 6.291 MB / 0.9758 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/1.307, allocations: 0 / 0.9758 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0176/1.324, allocations: 7.915 MB / 0.9835 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001959/1.326, allocations: 0.8092 MB / 0.9843 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005697/1.327, allocations: 59.09 kB / 0.9844 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002979/1.33, allocations: 389.8 kB / 0.9848 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000461/1.33, allocations: 182 kB / 0.9849 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002682/1.331, allocations: 91.94 kB / 0.985 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002607/1.333, allocations: 1.753 MB / 0.9867 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.193e-06/1.333, allocations: 0 / 0.9867 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00327/1.337, allocations: 1.027 MB / 0.9877 GB, free: 14.5 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (254): * Single equations (assignments): 247 * 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 {(3,25,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.002461/1.339, allocations: 1.033 MB / 0.9887 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01093/1.35, allocations: 4.814 MB / 0.9934 GB, free: 9.051 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.35, allocations: 4.188 kB / 0.9934 GB, free: 9.047 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00612/1.356, allocations: 2.749 MB / 0.9961 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003738/1.36, allocations: 0.676 MB / 0.9968 GB, free: 5.672 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/1.375, allocations: 7.804 MB / 1.004 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002465/1.377, allocations: 2.448 MB / 1.007 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004062/1.381, allocations: 1.106 MB / 1.008 GB, free: 10.25 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/1.383, allocations: 263.3 kB / 1.008 GB, free: 9.996 MB / 0.7637 GB Notification: Performance of SimCode: time 1.022e-06/1.383, allocations: 0 / 1.008 GB, free: 9.996 MB / 0.7637 GB Notification: Performance of Templates: time 0.08258/1.465, allocations: 46.79 MB / 1.054 GB, free: 11.67 MB / 0.8106 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)