Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.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_Specification,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification",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.001139/0.001139, allocations: 104.7 kB / 16.27 MB, free: 6.402 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.001141/0.001141, allocations: 188 kB / 17.2 MB, free: 5.949 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.28/1.28, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7342/0.7342, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 75.88 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3091, allocations: 77.92 MB / 0.5673 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1519/0.461, allocations: 154.5 MB / 0.7182 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01426/0.4753, allocations: 10.53 MB / 0.7284 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008021/0.4762, allocations: 23.88 kB / 0.7285 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009441/0.4771, allocations: 285.6 kB / 0.7287 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002717/0.4799, allocations: 0.9724 MB / 0.7297 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002464/0.4824, allocations: 1.069 MB / 0.7307 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00176/0.4842, allocations: 1.733 MB / 0.7324 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.4855, allocations: 1.138 MB / 0.7335 GB, free: 4 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001726/0.4872, allocations: 0.7183 MB / 0.7342 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009009/0.4881, allocations: 0.6146 MB / 0.7348 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002451/0.4884, allocations: 136 kB / 0.735 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002815/0.4912, allocations: 0.9948 MB / 0.7359 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004606/0.4917, allocations: 390.8 kB / 0.7363 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008384/0.4925, allocations: 0.6841 MB / 0.737 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003024/0.4956, allocations: 2.189 MB / 0.7391 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4956, allocations: 0 / 0.7391 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4956, allocations: 4 kB / 0.7391 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.684e-05/0.4956, allocations: 0 / 0.7391 GB, free: 10.28 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003358/0.499, allocations: 1.722 MB / 0.7408 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.4991, allocations: 12.62 kB / 0.7408 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001887/0.4993, allocations: 148.1 kB / 0.741 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001638/0.5009, allocations: 274 kB / 0.7412 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.5023, allocations: 1.054 MB / 0.7422 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.079e-05/0.5023, allocations: 77.94 kB / 0.7423 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.5025, allocations: 99.98 kB / 0.7424 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.5044, allocations: 1.098 MB / 0.7435 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.5044, allocations: 3.938 kB / 0.7435 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-05/0.5045, allocations: 44 kB / 0.7435 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.5045, allocations: 24 kB / 0.7436 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002196/0.5067, allocations: 1.323 MB / 0.7448 GB, free: 4.266 MB / 0.5762 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.005363/0.5121, allocations: 3.499 MB / 0.7483 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2093/0.7214, allocations: 1.093 MB / 0.7493 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008103/0.7222, allocations: 418.6 kB / 0.7497 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002173/0.7225, allocations: 142.3 kB / 0.7499 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/0.7236, allocations: 0.6162 MB / 0.7505 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=95): time 2.414e-06/0.7236, allocations: 0 / 0.7505 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95): time 0.004108/0.7277, allocations: 1.634 MB / 0.7521 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.7278, allocations: 198.8 kB / 0.7523 GB, free: 169 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.7291, allocations: 1.019 MB / 0.7533 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.968e-05/0.7292, allocations: 48.92 kB / 0.7533 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003081/0.7295, allocations: 478.7 kB / 0.7538 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.7297, allocations: 303.1 kB / 0.754 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/0.7299, allocations: 168.5 kB / 0.7542 GB, free: 168 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.921e-05/0.73, allocations: 344 kB / 0.7545 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007425/0.7308, allocations: 331.6 kB / 0.7548 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008914/0.7317, allocations: 474 kB / 0.7553 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/0.7332, allocations: 0.763 MB / 0.756 GB, free: 167 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.7332, allocations: 4.438 kB / 0.7561 GB, free: 167 MB / 0.5762 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002332/0.7356, allocations: 1.037 MB / 0.7571 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.7356, allocations: 9.516 kB / 0.7571 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.7356, allocations: 1.031 kB / 0.7571 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007328/0.7363, allocations: 115.2 kB / 0.7572 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009141/0.7373, allocations: 200.4 kB / 0.7574 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002641/0.7399, allocations: 3.068 MB / 0.7604 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.741, allocations: 110.9 kB / 0.7605 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-05/0.741, allocations: 37.06 kB / 0.7605 GB, free: 163.6 MB / 0.5762 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 (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005011/0.7416, allocations: 308.6 kB / 0.7608 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/0.7418, allocations: 100.8 kB / 0.7609 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00296/0.7447, allocations: 1.333 MB / 0.7622 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.7448, allocations: 11.44 kB / 0.7622 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.7448, allocations: 1.062 kB / 0.7622 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.7448, allocations: 6.469 kB / 0.7622 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00401/0.7488, allocations: 2.452 MB / 0.7646 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.7488, allocations: 0.8438 kB / 0.7646 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007917/0.7496, allocations: 186.9 kB / 0.7648 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005418/0.7502, allocations: 101.7 kB / 0.7649 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.39e-05/0.7502, allocations: 31.5 kB / 0.7649 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/0.7524, allocations: 3.088 MB / 0.7679 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7524, allocations: 1.641 kB / 0.7679 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002445/0.7549, allocations: 1.237 MB / 0.7691 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004158/0.7553, allocations: 329.2 kB / 0.7695 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.7554, allocations: 23.36 kB / 0.7695 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008265/0.7563, allocations: 78.41 kB / 0.7696 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.7565, allocations: 79.7 kB / 0.7696 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.642e-05/0.7565, allocations: 44.05 kB / 0.7697 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007761/0.7573, allocations: 0.7488 MB / 0.7704 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7573, allocations: 3.312 kB / 0.7704 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001136/0.7585, allocations: 450.4 kB / 0.7708 GB, free: 157.5 MB / 0.5762 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.003934/0.7624, allocations: 2.388 MB / 0.7732 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002934/0.7654, allocations: 1.355 MB / 0.7745 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.7654, allocations: 1.188 kB / 0.7745 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.7666, allocations: 0.7435 MB / 0.7752 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.7681, allocations: 375.8 kB / 0.7756 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/0.7797, allocations: 8.681 MB / 0.7841 GB, free: 150 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.7802, allocations: 1.105 MB / 0.7851 GB, free: 149 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009782/0.7812, allocations: 319.9 kB / 0.7854 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004898/0.7817, allocations: 467.2 kB / 0.7859 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/0.7817, allocations: 0 / 0.7859 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04839/0.8301, allocations: 27.98 MB / 0.8132 GB, free: 120.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.56, allocations: 18.36 kB / 0.8132 GB, free: 120.6 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)