Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData") translateModel(IBPSA.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 104 kB / 16.94 MB, free: 5.801 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.001265/0.001265, allocations: 191.6 kB / 17.87 MB, free: 5.18 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.408/1.408, allocations: 222.9 MB / 241.6 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8403/0.8403, allocations: 125.3 MB / 417.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 63.91 kB / 0.4948 GB, free: 4.402 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.4287, allocations: 78.56 MB / 0.5715 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData): time 0.2071/0.6359, allocations: 168.4 MB / 0.736 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4224/1.058, allocations: 17.34 MB / 0.7529 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002475/1.061, allocations: 31.81 kB / 0.7529 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001831/1.063, allocations: 0.5689 MB / 0.7535 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005931/1.069, allocations: 1.779 MB / 0.7552 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004331/1.073, allocations: 1.424 MB / 0.7566 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005038/1.078, allocations: 2.846 MB / 0.7594 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003311/1.081, allocations: 1.937 MB / 0.7613 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004885/1.086, allocations: 1.415 MB / 0.7627 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002378/1.089, allocations: 1.111 MB / 0.7638 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005118/1.089, allocations: 221.5 kB / 0.764 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003921/1.093, allocations: 1.524 MB / 0.7655 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007138/1.094, allocations: 0.7933 MB / 0.7662 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001848/1.096, allocations: 1.216 MB / 0.7674 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005921/1.102, allocations: 3.523 MB / 0.7709 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.102, allocations: 1 kB / 0.7709 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.114e-06/1.102, allocations: 1.188 kB / 0.7709 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.382e-05/1.102, allocations: 0.9375 kB / 0.7709 GB, free: 0.9258 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.006228/1.108, allocations: 2.751 MB / 0.7736 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/1.108, allocations: 10.16 kB / 0.7736 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00376/1.112, allocations: 0.5548 MB / 0.7741 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002617/1.114, allocations: 1.595 MB / 0.7757 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.896e-05/1.115, allocations: 136.1 kB / 0.7758 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002022/1.115, allocations: 169.4 kB / 0.776 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00305/1.118, allocations: 1.947 MB / 0.7779 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/1.118, allocations: 1.156 kB / 0.7779 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/1.118, allocations: 79.22 kB / 0.7779 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.143e-05/1.118, allocations: 39.44 kB / 0.778 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003095/1.121, allocations: 2.093 MB / 0.78 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009237/1.13, allocations: 6.278 MB / 0.7861 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003046/1.134, allocations: 2.087 MB / 0.7882 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/1.135, allocations: 0.7616 MB / 0.7889 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006079/1.135, allocations: 436.6 kB / 0.7893 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001534/1.137, allocations: 0.9979 MB / 0.7903 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=146): time 3.437e-06/1.137, allocations: 3.188 kB / 0.7903 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=146): time 0.006598/1.143, allocations: 2.955 MB / 0.7932 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/1.144, allocations: 196.3 kB / 0.7934 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002437/1.146, allocations: 1.786 MB / 0.7951 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002469/1.146, allocations: 61.42 kB / 0.7952 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007751/1.147, allocations: 0.832 MB / 0.796 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005078/1.148, allocations: 485.1 kB / 0.7965 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004048/1.148, allocations: 257.2 kB / 0.7967 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001741/1.148, allocations: 362.6 kB / 0.7971 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/1.149, allocations: 0.5896 MB / 0.7976 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/1.15, allocations: 0.7988 MB / 0.7984 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002331/1.153, allocations: 1.331 MB / 0.7997 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.153, allocations: 1.281 kB / 0.7997 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003872/1.157, allocations: 1.807 MB / 0.8015 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/1.157, allocations: 8.281 kB / 0.8015 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.157, allocations: 0 / 0.8015 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/1.158, allocations: 226.7 kB / 0.8017 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/1.159, allocations: 332.7 kB / 0.802 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006665/1.166, allocations: 7.317 MB / 0.8092 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/1.168, allocations: 157 kB / 0.8093 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/1.168, allocations: 52.91 kB / 0.8094 GB, free: 2.035 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0012/1.169, allocations: 490 kB / 0.8098 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004816/1.17, allocations: 177.5 kB / 0.81 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004373/1.174, allocations: 2.136 MB / 0.8121 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/1.174, allocations: 13.59 kB / 0.8121 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/1.174, allocations: 3.281 kB / 0.8121 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/1.174, allocations: 7.953 kB / 0.8121 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006773/1.181, allocations: 3.977 MB / 0.816 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/1.181, allocations: 0 / 0.816 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/1.183, allocations: 311.4 kB / 0.8163 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008849/1.184, allocations: 210.6 kB / 0.8165 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/1.184, allocations: 49.75 kB / 0.8165 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006284/1.19, allocations: 7.351 MB / 0.8237 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.19, allocations: 3.984 kB / 0.8237 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004535/1.194, allocations: 1.992 MB / 0.8257 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/1.196, allocations: 474.2 kB / 0.8261 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002574/1.196, allocations: 32 kB / 0.8262 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/1.197, allocations: 99.89 kB / 0.8262 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00028/1.197, allocations: 109.2 kB / 0.8264 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/1.198, allocations: 71.95 kB / 0.8264 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00182/1.199, allocations: 1.277 MB / 0.8277 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/1.199, allocations: 4 kB / 0.8277 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002196/1.202, allocations: 0.6821 MB / 0.8283 GB, free: 5.559 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002346/1.204, allocations: 0.7584 MB / 0.8291 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005739/1.21, allocations: 2.523 MB / 0.8315 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.546e-05/1.21, allocations: 4.562 kB / 0.8315 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00228/1.212, allocations: 1.412 MB / 0.8329 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002925/1.215, allocations: 0.5376 MB / 0.8335 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007024/1.222, allocations: 3.698 MB / 0.8371 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/1.223, allocations: 1.488 MB / 0.8385 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008091/1.224, allocations: 199.3 kB / 0.8387 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of SimCode: time 1.473e-06/1.224, allocations: 0 / 0.8387 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of Templates: time 0.08488/1.309, allocations: 66.89 MB / 0.904 GB, free: 8.332 MB / 0.6856 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.sim & ./IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)