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.008168/0.008168, allocations: 104.7 kB / 15.74 MB, free: 6.488 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.001715/0.001715, allocations: 197.5 kB / 16.67 MB, free: 6.375 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.579/1.579, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1/1, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 55.91 kB / 0.5856 GB, free: 3.367 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5672/0.5686, allocations: 80.93 MB / 0.6646 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1947/0.7634, allocations: 160.8 MB / 0.8216 GB, free: 276 kB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03538/0.7988, allocations: 26.78 MB / 0.8478 GB, free: 5.402 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004505/0.8033, allocations: 75.62 kB / 0.8478 GB, free: 5.328 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003602/0.8071, allocations: 1.018 MB / 0.8488 GB, free: 4.305 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006789/0.8139, allocations: 1.697 MB / 0.8505 GB, free: 2.602 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004555/0.8184, allocations: 1.715 MB / 0.8522 GB, free: 0.8984 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006742/0.8252, allocations: 4.831 MB / 0.8569 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006155/0.8314, allocations: 4.256 MB / 0.861 GB, free: 7.727 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004338/0.8357, allocations: 2.043 MB / 0.863 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003999/0.8397, allocations: 2.437 MB / 0.8654 GB, free: 3.234 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001439/0.8412, allocations: 459.8 kB / 0.8659 GB, free: 2.785 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003403/0.8446, allocations: 1.054 MB / 0.8669 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001966/0.8466, allocations: 1.168 MB / 0.868 GB, free: 0.5586 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.5401/1.387, allocations: 2.032 MB / 0.87 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01049/1.397, allocations: 5.798 MB / 0.8757 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/1.397, allocations: 0 / 0.8757 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.566e-06/1.397, allocations: 0 / 0.8757 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002232/1.397, allocations: 2.656 kB / 0.8757 GB, free: 11.34 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.01527/1.413, allocations: 4.489 MB / 0.8801 GB, free: 9.605 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/1.413, allocations: 9.406 kB / 0.8801 GB, free: 9.605 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01538/1.428, allocations: 2.77 MB / 0.8828 GB, free: 9.395 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006402/1.435, allocations: 2.29 MB / 0.885 GB, free: 8.785 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002607/1.435, allocations: 244.6 kB / 0.8852 GB, free: 8.777 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001248/1.436, allocations: 311.7 kB / 0.8855 GB, free: 8.777 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01416/1.45, allocations: 5.142 MB / 0.8906 GB, free: 8.508 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.217e-05/1.45, allocations: 2.125 kB / 0.8906 GB, free: 8.508 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004345/1.451, allocations: 133.2 kB / 0.8907 GB, free: 8.508 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.244e-05/1.451, allocations: 78.94 kB / 0.8908 GB, free: 8.508 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0169/1.468, allocations: 6.289 MB / 0.8969 GB, free: 8.477 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.02726/1.495, allocations: 14.42 MB / 0.911 GB, free: 4.77 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009919/1.505, allocations: 4.516 MB / 0.9154 GB, free: 4.699 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005413/1.511, allocations: 2.449 MB / 0.9178 GB, free: 4.68 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000824/1.511, allocations: 0.6728 MB / 0.9185 GB, free: 4.02 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005395/1.517, allocations: 2.456 MB / 0.9209 GB, free: 3.914 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=270): time 5.44e-06/1.517, allocations: 4.797 kB / 0.9209 GB, free: 3.91 MB / 0.6856 GB Notification: Performance of matching and sorting (n=270): time 0.019/1.536, allocations: 7.542 MB / 0.9282 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/1.536, allocations: 215.2 kB / 0.9284 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004531/1.541, allocations: 2.391 MB / 0.9308 GB, free: 0.9922 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0006119/1.541, allocations: 73.23 kB / 0.9308 GB, free: 0.9609 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001288/1.542, allocations: 1.351 MB / 0.9322 GB, free: 320 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001445/1.544, allocations: 0.8939 MB / 0.933 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001152/1.545, allocations: 493.6 kB / 0.9335 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.545, allocations: 306.7 kB / 0.9338 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004531/1.55, allocations: 1.974 MB / 0.9357 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004727/1.555, allocations: 2.273 MB / 0.9379 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009106/1.564, allocations: 4.224 MB / 0.9421 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/1.564, allocations: 0 / 0.9421 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01219/1.576, allocations: 4.965 MB / 0.9469 GB, free: 8.828 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/1.576, allocations: 9.25 kB / 0.9469 GB, free: 8.82 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/1.576, allocations: 4 kB / 0.9469 GB, free: 8.816 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009468/1.577, allocations: 361.8 kB / 0.9473 GB, free: 8.465 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004228/1.581, allocations: 0.7779 MB / 0.948 GB, free: 7.715 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005718/1.587, allocations: 4.245 MB / 0.9522 GB, free: 3.348 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004603/1.591, allocations: 0.5323 MB / 0.9527 GB, free: 2.812 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004916/1.592, allocations: 113.1 kB / 0.9528 GB, free: 2.703 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.00261/1.595, allocations: 0.9287 MB / 0.9537 GB, free: 1.793 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008743/1.596, allocations: 272.6 kB / 0.954 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/1.609, allocations: 5.537 MB / 0.9594 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-05/1.609, allocations: 28 kB / 0.9594 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/1.609, allocations: 4 kB / 0.9594 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.912e-05/1.609, allocations: 15.94 kB / 0.9594 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0193/1.628, allocations: 9.291 MB / 0.9685 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/1.629, allocations: 1.203 kB / 0.9685 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00379/1.632, allocations: 0.7346 MB / 0.9692 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001108/1.633, allocations: 390.5 kB / 0.9696 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002884/1.634, allocations: 71.94 kB / 0.9697 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00663/1.64, allocations: 6.291 MB / 0.9758 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/1.64, allocations: 0 / 0.9758 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01838/1.659, allocations: 7.921 MB / 0.9835 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002155/1.661, allocations: 0.8053 MB / 0.9843 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006291/1.662, allocations: 57 kB / 0.9844 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003131/1.665, allocations: 397.9 kB / 0.9848 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004673/1.665, allocations: 178 kB / 0.9849 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000244/1.665, allocations: 95.94 kB / 0.985 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002641/1.668, allocations: 1.749 MB / 0.9867 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.01e-07/1.668, allocations: 0 / 0.9867 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003436/1.672, allocations: 1.026 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.002568/1.674, allocations: 1.027 MB / 0.9887 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01137/1.686, allocations: 4.808 MB / 0.9934 GB, free: 9.07 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/1.686, allocations: 4 kB / 0.9934 GB, free: 9.066 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.006246/1.692, allocations: 2.754 MB / 0.9961 GB, free: 6.332 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003903/1.696, allocations: 0.6828 MB / 0.9968 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/1.711, allocations: 7.802 MB / 1.004 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002307/1.714, allocations: 2.455 MB / 1.007 GB, free: 11.37 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.00438/1.718, allocations: 1.099 MB / 1.008 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001185/1.719, allocations: 259.3 kB / 1.008 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of SimCode: time 1.784e-06/1.719, allocations: 3.938 kB / 1.008 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of Templates: time 0.08976/1.809, allocations: 46.79 MB / 1.054 GB, free: 11.69 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)