Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.ThermalZones.Detailed.Examples.MixedAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nPer.y|senCO2.ppm|CO2Set.y|conPI.y|bou.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2") translateModel(Buildings.ThermalZones.Detailed.Examples.MixedAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nPer.y|senCO2.ppm|CO2Set.y|conPI.y|bou.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 110.5 kB / 16.42 MB, free: 6.516 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.001784/0.001784, allocations: 186.7 kB / 17.35 MB, free: 5.738 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.42/2.42, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 71.88 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6962/0.6976, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.MixedAirCO2): time 0.2219/0.9196, allocations: 237.9 MB / 1.4 GB, free: 5.012 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.06033/0.9799, allocations: 43.93 MB / 1.443 GB, free: 8.949 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01149/0.9914, allocations: 366 kB / 1.443 GB, free: 8.59 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0174/1.009, allocations: 7.445 MB / 1.45 GB, free: 1.109 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01864/1.028, allocations: 6.576 MB / 1.457 GB, free: 10.5 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.01395/1.042, allocations: 5.553 MB / 1.462 GB, free: 4.965 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.05058/1.092, allocations: 48.85 MB / 1.51 GB, free: 4.039 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02599/1.118, allocations: 18.43 MB / 1.528 GB, free: 1.453 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02982/1.148, allocations: 20.6 MB / 1.548 GB, free: 12.81 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 1.244/2.392, allocations: 15.3 MB / 1.563 GB, free: 53.97 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.008763/2.401, allocations: 2.748 MB / 1.565 GB, free: 53.97 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01708/2.418, allocations: 6.939 MB / 1.572 GB, free: 53.97 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.01363/2.432, allocations: 11.81 MB / 1.584 GB, free: 53.97 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.02595/2.458, allocations: 15.24 MB / 1.599 GB, free: 53.38 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.05648/2.514, allocations: 52.15 MB / 1.65 GB, free: 47.57 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/2.515, allocations: 0 / 1.65 GB, free: 47.57 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.904e-06/2.515, allocations: 0.75 kB / 1.65 GB, free: 47.57 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.001415/2.516, allocations: 0 / 1.65 GB, free: 47.57 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1772 * Number of variables: 1772 Notification: Performance of Generate backend data structure: time 0.09408/2.61, allocations: 35.09 MB / 1.684 GB, free: 34.49 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/2.61, allocations: 12.03 kB / 1.684 GB, free: 34.49 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03589/2.646, allocations: 7.297 MB / 1.691 GB, free: 31.18 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07938/2.725, allocations: 43.65 MB / 1.734 GB, free: 9.441 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00104/2.726, allocations: 1.406 MB / 1.735 GB, free: 7.879 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004872/2.731, allocations: 0.9647 MB / 1.736 GB, free: 6.922 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0314/2.763, allocations: 13.82 MB / 1.749 GB, free: 8.82 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001756/2.763, allocations: 20.14 kB / 1.749 GB, free: 8.812 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001835/2.765, allocations: 299.7 kB / 1.75 GB, free: 8.523 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002217/2.765, allocations: 252.7 kB / 1.75 GB, free: 8.273 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03074/2.796, allocations: 13.7 MB / 1.763 GB, free: 10.66 MB / 1.311 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.1617/2.958, allocations: 86.03 MB / 1.847 GB, free: 3.004 MB / 1.389 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02073/2.978, allocations: 10.56 MB / 1.858 GB, free: 8.449 MB / 1.404 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01342/2.992, allocations: 7.402 MB / 1.865 GB, free: 1.051 MB / 1.404 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001252/2.993, allocations: 0.8412 MB / 1.866 GB, free: 84 kB / 1.404 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01219/3.005, allocations: 6.653 MB / 1.872 GB, free: 9.41 MB / 1.42 GB Notification: Performance of pre-optimization done (n=507): time 7.363e-06/3.005, allocations: 0 / 1.872 GB, free: 9.41 MB / 1.42 GB Notification: Performance of matching and sorting (n=507): time 0.06372/3.069, allocations: 26.97 MB / 1.899 GB, free: 14.15 MB / 1.451 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000243/3.069, allocations: 398.8 kB / 1.899 GB, free: 13.72 MB / 1.451 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1165/3.186, allocations: 63.55 MB / 1.961 GB, free: 14.36 MB / 1.514 GB Notification: Performance of collectPreVariables (initialization): time 0.003192/3.189, allocations: 245.7 kB / 1.961 GB, free: 14.11 MB / 1.514 GB Notification: Performance of collectInitialEqns (initialization): time 0.01741/3.206, allocations: 11.8 MB / 1.973 GB, free: 2.352 MB / 1.514 GB Notification: Performance of collectInitialBindings (initialization): time 0.003317/3.21, allocations: 1.782 MB / 1.974 GB, free: 0.5859 MB / 1.514 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008975/3.219, allocations: 7.638 MB / 1.982 GB, free: 8.934 MB / 1.529 GB Notification: Performance of setup shared object (initialization): time 0.0001104/3.219, allocations: 305.1 kB / 1.982 GB, free: 8.633 MB / 1.529 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.07353/3.292, allocations: 52.54 MB / 2.034 GB, free: 4.074 MB / 1.576 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0636/3.356, allocations: 57.48 MB / 2.09 GB, free: 8.992 MB / 1.639 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07907/3.435, allocations: 70.25 MB / 2.158 GB, free: 1.336 MB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001137/3.435, allocations: 32 kB / 2.158 GB, free: 1.305 MB / 1.701 GB Notification: Performance of matching and sorting (n=2949) (initialization): time 0.8075/4.243, allocations: 126.3 MB / 2.282 GB, free: 0.6229 GB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003194/4.243, allocations: 297.3 kB / 2.282 GB, free: 0.6226 GB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09027/4.333, allocations: 87.37 MB / 2.367 GB, free: 0.5432 GB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1123/4.446, allocations: 37.07 MB / 2.403 GB, free: 0.5112 GB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01706/4.463, allocations: 3.333 MB / 2.407 GB, free: 0.5079 GB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02473/4.488, allocations: 32.04 MB / 2.438 GB, free: 486.1 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02675/4.514, allocations: 2.989 MB / 2.441 GB, free: 483.5 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004092/4.519, allocations: 0.5732 MB / 2.441 GB, free: 482.9 MB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.06611/4.585, allocations: 65.83 MB / 2.506 GB, free: 417.1 MB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.05122/4.636, allocations: 57.4 MB / 2.562 GB, free: 358.1 MB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06564/4.702, allocations: 70.14 MB / 2.63 GB, free: 286.2 MB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001219/4.702, allocations: 32 kB / 2.63 GB, free: 286.2 MB / 1.701 GB Notification: Performance of matching and sorting (n=2949) (initialization_lambda0): time 0.1328/4.835, allocations: 125.4 MB / 2.753 GB, free: 160.3 MB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002913/4.835, allocations: 311.2 kB / 2.753 GB, free: 160 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08889/4.924, allocations: 87.58 MB / 2.839 GB, free: 72.08 MB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00832/4.932, allocations: 3.112 MB / 2.842 GB, free: 68.93 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01591/4.948, allocations: 3.315 MB / 2.845 GB, free: 65.61 MB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0287/4.977, allocations: 34.38 MB / 2.878 GB, free: 29.58 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02534/5.002, allocations: 2.644 MB / 2.881 GB, free: 27.05 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003581/5.006, allocations: 0.5701 MB / 2.882 GB, free: 26.49 MB / 1.701 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 539 * Number of states: 0 () * Number of discrete variables: 41 (weaDat1.conTim.canRepeatWeatherFile,weaDat1.conTimMin.canRepeatWeatherFile,roo.solRadExc.is_flo[12],roo.solRadExc.is_flo[11],roo.solRadExc.is_flo[10],roo.solRadExc.is_flo[9],roo.solRadExc.is_flo[8],roo.solRadExc.is_flo[7],roo.solRadExc.is_flo[6],roo.solRadExc.is_flo[5],roo.solRadExc.is_flo[4],roo.solRadExc.is_flo[3],roo.solRadExc.is_flo[2],roo.solRadExc.is_flo[1],nPer.count,$PRE.nPer.count,nPer.T_start,$PRE.nPer.T_start,weaDat1.decAng.tNext,$PRE.weaDat1.decAng.tNext,weaDat1.eqnTim.tNext,$PRE.weaDat1.eqnTim.tNext,weaDat1.conTim.tNext,$PRE.weaDat1.conTim.tNext,weaDat1.conTimMin.tNext,$PRE.weaDat1.conTimMin.tNext,weaDat1.locTim.tNext,$PRE.weaDat1.locTim.tNext,roo.bouConExtWin.HDifTil[1].incAng.decAng.tNext,$PRE.roo.bouConExtWin.HDifTil[1].incAng.decAng.tNext,roo.bouConExtWin.HDirTil[1].incAng.decAng.tNext,$PRE.roo.bouConExtWin.HDirTil[1].incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1416): * Single equations (assignments): 1358 * Array equations: 39 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(14,53), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003371/5.009, allocations: 1.115 MB / 2.883 GB, free: 25.36 MB / 1.701 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007561/5.017, allocations: 2.394 MB / 2.885 GB, free: 22.94 MB / 1.701 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03609/5.053, allocations: 18.52 MB / 2.903 GB, free: 4.277 MB / 1.701 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6374/5.69, allocations: 14.89 MB / 2.918 GB, free: 0.6842 GB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02822/5.719, allocations: 13.96 MB / 2.931 GB, free: 0.6831 GB / 1.701 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01931/5.738, allocations: 6.325 MB / 2.937 GB, free: 0.6811 GB / 1.701 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01005/5.748, allocations: 156.5 kB / 2.938 GB, free: 0.6811 GB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0193/5.767, allocations: 1.329 MB / 2.939 GB, free: 0.681 GB / 1.701 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0018/5.769, allocations: 329.1 kB / 2.939 GB, free: 0.6809 GB / 1.701 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04813/5.817, allocations: 19.49 MB / 2.958 GB, free: 0.676 GB / 1.701 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04973/5.867, allocations: 23.74 MB / 2.981 GB, free: 0.6684 GB / 1.701 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0117/5.879, allocations: 7.548 MB / 2.989 GB, free: 0.6656 GB / 1.701 GB Notification: Performance of sorting global known variables: time 0.06684/5.946, allocations: 43.2 MB / 3.031 GB, free: 0.6277 GB / 1.701 GB Notification: Performance of Backend: time 7.72e-07/5.946, allocations: 0 / 3.031 GB, free: 0.6277 GB / 1.701 GB Notification: Performance of simCode: created initialization part: time 0.1455/6.091, allocations: 136.5 MB / 3.164 GB, free: 0.495 GB / 1.701 GB Notification: Performance of SimCode: time 0.1369/6.228, allocations: 78.92 MB / 3.241 GB, free: 428.4 MB / 1.701 GB Notification: Performance of Templates: time 2.199/8.428, allocations: 0.5493 GB / 3.791 GB, free: 0.5775 GB / 1.701 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.makefile (rm -f Buildings_10_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.pipe 2>&1)