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.001091/0.001091, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001101/0.001101, allocations: 192 kB / 17.2 MB, free: 5.598 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.273/1.273, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7479/0.7479, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.89 kB / 0.4912 GB, free: 7.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3443, allocations: 77.93 MB / 0.5673 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData): time 0.1594/0.5038, allocations: 168.4 MB / 0.7317 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02122/0.525, allocations: 17.33 MB / 0.7486 GB, free: 500 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.5266, allocations: 31.81 kB / 0.7487 GB, free: 468 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.2966/0.8232, allocations: 0.5549 MB / 0.7492 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005489/0.8288, allocations: 1.783 MB / 0.7509 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003654/0.8325, allocations: 1.419 MB / 0.7523 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004108/0.8366, allocations: 2.853 MB / 0.7551 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0035/0.8401, allocations: 1.936 MB / 0.757 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004112/0.8442, allocations: 1.419 MB / 0.7584 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.846, allocations: 1.115 MB / 0.7595 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004551/0.8465, allocations: 221.5 kB / 0.7597 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00346/0.85, allocations: 1.517 MB / 0.7612 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008588/0.8508, allocations: 0.7984 MB / 0.762 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001695/0.8525, allocations: 1.275 MB / 0.7632 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004886/0.8574, allocations: 3.651 MB / 0.7668 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.8575, allocations: 2 kB / 0.7668 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8575, allocations: 0 / 0.7668 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.643e-05/0.8575, allocations: 0.9375 kB / 0.7668 GB, free: 1.195 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.005491/0.863, allocations: 2.905 MB / 0.7696 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.8631, allocations: 13.09 kB / 0.7696 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002951/0.8634, allocations: 249 kB / 0.7699 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003886/0.8673, allocations: 0.5742 MB / 0.7704 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003764/0.8711, allocations: 3.385 MB / 0.7737 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.772e-05/0.8712, allocations: 128.5 kB / 0.7738 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/0.8714, allocations: 172.7 kB / 0.774 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002807/0.8742, allocations: 1.943 MB / 0.7759 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.8742, allocations: 2.125 kB / 0.7759 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/0.8744, allocations: 73.59 kB / 0.776 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.8744, allocations: 41.44 kB / 0.776 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002898/0.8773, allocations: 2.092 MB / 0.7781 GB, free: 14.92 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.008103/0.8854, allocations: 6.62 MB / 0.7845 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002829/0.8883, allocations: 2.092 MB / 0.7866 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/0.8893, allocations: 0.7526 MB / 0.7873 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005441/0.8899, allocations: 432.1 kB / 0.7877 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001469/0.8914, allocations: 1.014 MB / 0.7887 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=146): time 3.226e-06/0.8914, allocations: 0 / 0.7887 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=146): time 0.006152/0.8975, allocations: 2.963 MB / 0.7916 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.601e-05/0.8976, allocations: 200.5 kB / 0.7918 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004143/0.9018, allocations: 4.05 MB / 0.7958 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002599/0.9021, allocations: 63.33 kB / 0.7958 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007684/0.9028, allocations: 0.8925 MB / 0.7967 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005132/0.9034, allocations: 483.5 kB / 0.7971 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004049/0.9038, allocations: 240.7 kB / 0.7974 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.9039, allocations: 353.9 kB / 0.7977 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.9051, allocations: 0.5682 MB / 0.7983 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/0.9065, allocations: 0.7983 MB / 0.799 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002161/0.9086, allocations: 1.31 MB / 0.8003 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.9086, allocations: 0.7188 kB / 0.8003 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004355/0.913, allocations: 1.764 MB / 0.802 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.913, allocations: 5.594 kB / 0.8021 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.9131, allocations: 2.562 kB / 0.8021 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.9141, allocations: 216.7 kB / 0.8023 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.9155, allocations: 322.8 kB / 0.8026 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005267/0.9208, allocations: 7.329 MB / 0.8097 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/0.9225, allocations: 167.1 kB / 0.8099 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.9227, allocations: 48.97 kB / 0.8099 GB, free: 2.363 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: 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.0009238/0.9236, allocations: 492.8 kB / 0.8104 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004575/0.9241, allocations: 188.4 kB / 0.8106 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004124/0.9282, allocations: 2.139 MB / 0.8127 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.9282, allocations: 16.75 kB / 0.8127 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.9282, allocations: 3.656 kB / 0.8127 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.9283, allocations: 7.641 kB / 0.8127 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006199/0.9345, allocations: 4.106 MB / 0.8167 GB, free: 488 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.9345, allocations: 0.9375 kB / 0.8167 GB, free: 488 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/0.9359, allocations: 315.6 kB / 0.817 GB, free: 196 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008663/0.9368, allocations: 209.8 kB / 0.8172 GB, free: 4 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.9369, allocations: 44.95 kB / 0.8173 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005166/0.9421, allocations: 7.353 MB / 0.8244 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.9421, allocations: 0 / 0.8244 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004111/0.9462, allocations: 2.002 MB / 0.8264 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009523/0.9472, allocations: 0.5098 MB / 0.8269 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002629/0.9474, allocations: 32.81 kB / 0.8269 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.9487, allocations: 107.1 kB / 0.827 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002347/0.949, allocations: 114 kB / 0.8271 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/0.9491, allocations: 67.95 kB / 0.8272 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003016/0.9521, allocations: 3.121 MB / 0.8302 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9521, allocations: 0 / 0.8302 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001851/0.954, allocations: 0.6782 MB / 0.8309 GB, free: 1.328 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.005552/0.9596, allocations: 3.202 MB / 0.834 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005063/0.9646, allocations: 2.484 MB / 0.8365 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.291e-06/0.9647, allocations: 0.5625 kB / 0.8365 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001947/0.9666, allocations: 1.422 MB / 0.8378 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002543/0.9692, allocations: 0.5516 MB / 0.8384 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03012/0.9993, allocations: 22.35 MB / 0.8602 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/1.001, allocations: 1.529 MB / 0.8617 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002113/1.003, allocations: 0.5213 MB / 0.8622 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/1.004, allocations: 0.8987 MB / 0.8631 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of SimCode: time 5.21e-07/1.004, allocations: 0 / 0.8631 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09786/1.102, allocations: 48.48 MB / 0.9104 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/13.38, allocations: 7.922 kB / 0.9104 GB, free: 15.91 MB / 0.7012 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)