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: "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 109.8 kB / 16.41 MB, free: 6.5 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.001242/0.001242, allocations: 189.2 kB / 17.34 MB, free: 5.762 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 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8433/0.8433, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 68.62 kB / 0.5735 GB, free: 27.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1257, allocations: 78.86 MB / 0.6505 GB, free: 3.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData): time 0.4515/0.5772, allocations: 168.4 MB / 0.815 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0194/0.5966, allocations: 17.35 MB / 0.832 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.5981, allocations: 29.75 kB / 0.832 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001504/0.5996, allocations: 0.5764 MB / 0.8325 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004696/0.6043, allocations: 1.777 MB / 0.8343 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003393/0.6077, allocations: 1.43 MB / 0.8357 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003003/0.6107, allocations: 2.86 MB / 0.8385 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002361/0.6131, allocations: 1.95 MB / 0.8404 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003836/0.617, allocations: 1.413 MB / 0.8418 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.6184, allocations: 1.106 MB / 0.8428 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003153/0.6188, allocations: 221 kB / 0.843 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002928/0.6217, allocations: 1.553 MB / 0.8446 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006979/0.6224, allocations: 0.8005 MB / 0.8453 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.6237, allocations: 1.275 MB / 0.8466 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004583/0.6283, allocations: 3.731 MB / 0.8502 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.6283, allocations: 6.703 kB / 0.8502 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6283, allocations: 0 / 0.8502 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.096e-05/0.6284, allocations: 0 / 0.8502 GB, free: 6.141 MB / 0.6075 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.004967/0.6333, allocations: 2.998 MB / 0.8532 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.6334, allocations: 12.02 kB / 0.8532 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003099/0.6337, allocations: 244.9 kB / 0.8534 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003871/0.6376, allocations: 0.5877 MB / 0.854 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004343/0.6419, allocations: 3.434 MB / 0.8573 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.6421, allocations: 139.4 kB / 0.8575 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002329/0.6423, allocations: 167.9 kB / 0.8576 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00346/0.6458, allocations: 1.944 MB / 0.8595 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/0.6458, allocations: 3.938 kB / 0.8595 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/0.646, allocations: 76 kB / 0.8596 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.573e-05/0.6461, allocations: 40 kB / 0.8596 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003774/0.6498, allocations: 2.085 MB / 0.8617 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009446/0.6593, allocations: 6.762 MB / 0.8683 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003677/0.663, allocations: 2.091 MB / 0.8703 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/0.6644, allocations: 0.7647 MB / 0.8711 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006223/0.665, allocations: 433.6 kB / 0.8715 GB, free: 280 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001864/0.6669, allocations: 1.006 MB / 0.8725 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=146): time 2.906e-06/0.6669, allocations: 0 / 0.8725 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of matching and sorting (n=146): time 0.007158/0.6741, allocations: 2.97 MB / 0.8754 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.6742, allocations: 193.2 kB / 0.8756 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004796/0.679, allocations: 4.064 MB / 0.8795 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.6792, allocations: 61.7 kB / 0.8796 GB, free: 7.797 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008214/0.68, allocations: 0.8996 MB / 0.8805 GB, free: 6.887 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004405/0.6804, allocations: 0.4919 MB / 0.8809 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004232/0.6809, allocations: 238.8 kB / 0.8812 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.6811, allocations: 353.9 kB / 0.8815 GB, free: 5.797 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.6822, allocations: 0.5687 MB / 0.8821 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/0.6837, allocations: 0.793 MB / 0.8828 GB, free: 4.371 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002736/0.6864, allocations: 1.31 MB / 0.8841 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.6864, allocations: 0 / 0.8841 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004074/0.6905, allocations: 1.784 MB / 0.8859 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.6906, allocations: 4 kB / 0.8859 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.6906, allocations: 3.984 kB / 0.8859 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/0.6917, allocations: 224.1 kB / 0.8861 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/0.6934, allocations: 319.6 kB / 0.8864 GB, free: 0.6914 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006815/0.7002, allocations: 7.313 MB / 0.8935 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.7017, allocations: 163.2 kB / 0.8937 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.7018, allocations: 51.97 kB / 0.8937 GB, free: 8.461 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (144): * Single equations (assignments): 139 * 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.000902/0.7027, allocations: 485.4 kB / 0.8942 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003795/0.7031, allocations: 206.7 kB / 0.8944 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004792/0.7079, allocations: 2.142 MB / 0.8965 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.7079, allocations: 16 kB / 0.8965 GB, free: 5.586 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.708, allocations: 7.984 kB / 0.8965 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/0.708, allocations: 3.984 kB / 0.8965 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007271/0.7153, allocations: 4.108 MB / 0.9005 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.7153, allocations: 0 / 0.9005 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/0.7168, allocations: 315.5 kB / 0.9008 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009742/0.7178, allocations: 204.1 kB / 0.901 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/0.7179, allocations: 43.95 kB / 0.9011 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006575/0.7245, allocations: 7.352 MB / 0.9082 GB, free: 8.762 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.7245, allocations: 4 kB / 0.9082 GB, free: 8.758 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004464/0.729, allocations: 2.01 MB / 0.9102 GB, free: 6.715 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009209/0.7299, allocations: 0.5187 MB / 0.9107 GB, free: 6.176 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002501/0.7302, allocations: 28 kB / 0.9107 GB, free: 6.148 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/0.7315, allocations: 112 kB / 0.9108 GB, free: 6.043 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002575/0.7317, allocations: 113.1 kB / 0.911 GB, free: 5.93 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/0.7319, allocations: 67.95 kB / 0.911 GB, free: 5.863 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003586/0.7355, allocations: 3.12 MB / 0.9141 GB, free: 2.75 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7355, allocations: 0 / 0.9141 GB, free: 2.75 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001824/0.7373, allocations: 0.6976 MB / 0.9147 GB, free: 2.051 MB / 0.67 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.006873/0.7442, allocations: 3.226 MB / 0.9179 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003706/0.748, allocations: 2.051 MB / 0.9199 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/0.748, allocations: 4.562 kB / 0.9199 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002248/0.7502, allocations: 1.418 MB / 0.9213 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/0.7528, allocations: 0.5477 MB / 0.9218 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03092/0.7837, allocations: 20.82 MB / 0.9422 GB, free: 5.777 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/0.7851, allocations: 1.533 MB / 0.9437 GB, free: 4.215 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001834/0.7869, allocations: 0.5252 MB / 0.9442 GB, free: 3.684 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001353/0.7883, allocations: 0.8976 MB / 0.945 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of SimCode: time 1.062e-06/0.7883, allocations: 0 / 0.945 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1063/0.8946, allocations: 48.91 MB / 0.9928 GB, free: 2.316 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.38/16.28, allocations: 6.672 kB / 0.9928 GB, free: 2.312 MB / 0.7481 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_res.csv --start-time 1.728e+07 --stop-time 1.78848e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)