Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="BuildingSystems_BuildingSystems_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.001569/0.001569, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002164/0.002164, allocations: 283.1 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9762/0.9762, allocations: 169.2 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 98.8 kB / 0.5953 GB, free: 27.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1477, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData): time 0.4741/0.6218, allocations: 167.2 MB / 0.8435 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02031/0.6422, allocations: 17.2 MB / 0.8603 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001743/0.644, allocations: 30.88 kB / 0.8604 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.6457, allocations: 0.5365 MB / 0.8609 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004799/0.6505, allocations: 1.684 MB / 0.8625 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003438/0.6539, allocations: 1.404 MB / 0.8639 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002869/0.6568, allocations: 2.646 MB / 0.8665 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002161/0.659, allocations: 1.998 MB / 0.8684 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003214/0.6622, allocations: 1.387 MB / 0.8698 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/0.6635, allocations: 1.09 MB / 0.8708 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003847/0.6639, allocations: 218.9 kB / 0.8711 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003044/0.667, allocations: 1.521 MB / 0.8725 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006313/0.6676, allocations: 0.7915 MB / 0.8733 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001064/0.6687, allocations: 1.235 MB / 0.8745 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004432/0.6731, allocations: 3.588 MB / 0.878 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.6732, allocations: 0 / 0.878 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6732, allocations: 0 / 0.878 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.18e-05/0.6732, allocations: 0 / 0.878 GB, free: 9.121 MB / 0.5919 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.004936/0.6782, allocations: 2.884 MB / 0.8808 GB, free: 7 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.6782, allocations: 10.47 kB / 0.8808 GB, free: 7 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000271/0.6785, allocations: 252.5 kB / 0.8811 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003629/0.6821, allocations: 0.5721 MB / 0.8816 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003429/0.6856, allocations: 3.384 MB / 0.885 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.401e-05/0.6857, allocations: 125.9 kB / 0.8851 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/0.6859, allocations: 168.9 kB / 0.8852 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00287/0.6887, allocations: 1.943 MB / 0.8871 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.6888, allocations: 0 / 0.8871 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001561/0.6889, allocations: 79.98 kB / 0.8872 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/0.689, allocations: 40 kB / 0.8872 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003407/0.6924, allocations: 2.085 MB / 0.8893 GB, free: 1.219 MB / 0.5919 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.008719/0.7011, allocations: 6.238 MB / 0.8954 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003245/0.7044, allocations: 2.103 MB / 0.8974 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.7057, allocations: 0.7569 MB / 0.8982 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000701/0.7064, allocations: 433.6 kB / 0.8986 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00209/0.7085, allocations: 1.001 MB / 0.8996 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 3.397e-06/0.7085, allocations: 0 / 0.8996 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146): time 0.006617/0.7151, allocations: 2.961 MB / 0.9024 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.157e-05/0.7153, allocations: 197.2 kB / 0.9026 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004137/0.7194, allocations: 4.056 MB / 0.9066 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001833/0.7196, allocations: 53.7 kB / 0.9066 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007328/0.7203, allocations: 0.8943 MB / 0.9075 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004029/0.7207, allocations: 481 kB / 0.908 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003705/0.7211, allocations: 238.8 kB / 0.9082 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.7213, allocations: 361.9 kB / 0.9086 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/0.7226, allocations: 0.5648 MB / 0.9091 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/0.7238, allocations: 0.7977 MB / 0.9099 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002252/0.7261, allocations: 1.306 MB / 0.9112 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.7261, allocations: 0 / 0.9112 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003982/0.7301, allocations: 1.776 MB / 0.9129 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.7301, allocations: 4 kB / 0.9129 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.7301, allocations: 3.938 kB / 0.9129 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.7313, allocations: 216.2 kB / 0.9131 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.7328, allocations: 323.6 kB / 0.9134 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005618/0.7385, allocations: 7.325 MB / 0.9206 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.7401, allocations: 162.8 kB / 0.9207 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.7402, allocations: 47.97 kB / 0.9208 GB, free: 15.52 MB / 0.6387 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.0009912/0.7412, allocations: 494.3 kB / 0.9212 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004218/0.7417, allocations: 189.7 kB / 0.9214 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004437/0.7461, allocations: 2.134 MB / 0.9235 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.7461, allocations: 19.94 kB / 0.9235 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.7461, allocations: 7.938 kB / 0.9235 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.7462, allocations: 7.969 kB / 0.9235 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007215/0.7534, allocations: 4.106 MB / 0.9276 GB, free: 8.465 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.7534, allocations: 0 / 0.9276 GB, free: 8.465 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001412/0.7548, allocations: 315.6 kB / 0.9279 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008703/0.7557, allocations: 204.1 kB / 0.928 GB, free: 7.941 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.123e-05/0.7558, allocations: 47.91 kB / 0.9281 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005217/0.761, allocations: 7.366 MB / 0.9353 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.7611, allocations: 0 / 0.9353 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003805/0.7649, allocations: 1.991 MB / 0.9372 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008718/0.7658, allocations: 0.5099 MB / 0.9377 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003176/0.7661, allocations: 28 kB / 0.9378 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/0.7675, allocations: 109.1 kB / 0.9379 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002702/0.7678, allocations: 113.2 kB / 0.938 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001789/0.768, allocations: 71.94 kB / 0.938 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003371/0.7714, allocations: 3.12 MB / 0.9411 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.21e-07/0.7714, allocations: 0 / 0.9411 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001805/0.7732, allocations: 0.6625 MB / 0.9417 GB, free: 9.172 MB / 0.6544 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.005905/0.7791, allocations: 3.215 MB / 0.9449 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005239/0.7844, allocations: 2.488 MB / 0.9473 GB, free: 3.559 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.7844, allocations: 0.5625 kB / 0.9473 GB, free: 3.559 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002107/0.7865, allocations: 1.418 MB / 0.9487 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00287/0.7894, allocations: 0.5253 MB / 0.9492 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03433/0.8238, allocations: 22.47 MB / 0.9711 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001318/0.8251, allocations: 1.522 MB / 0.9726 GB, free: 8.73 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002341/0.8275, allocations: 0.552 MB / 0.9732 GB, free: 8.172 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001291/0.8288, allocations: 0.9014 MB / 0.974 GB, free: 7.27 MB / 0.6856 GB Notification: Performance of SimCode: time 7.82e-07/0.8288, allocations: 0 / 0.974 GB, free: 7.27 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09294/0.9217, allocations: 47.7 MB / 1.021 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.88, allocations: 6.125 kB / 1.021 GB, free: 8.172 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)