Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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_Specification,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="BuildingSystems_BuildingSystems_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.004285/0.004285, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001204/0.001205, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002396/0.002396, allocations: 278.1 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.037/1.037, allocations: 178.6 MB / 0.5074 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002603/0.002603, allocations: 99.84 kB / 0.6943 GB, free: 3.605 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.474/0.4767, allocations: 89.13 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1864/0.6631, allocations: 154.5 MB / 0.9322 GB, free: 4.18 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01411/0.6772, allocations: 10.56 MB / 0.9425 GB, free: 9.594 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007386/0.678, allocations: 19.88 kB / 0.9426 GB, free: 9.574 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0008382/0.6789, allocations: 285.7 kB / 0.9428 GB, free: 9.293 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002577/0.6815, allocations: 0.967 MB / 0.9438 GB, free: 8.324 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00239/0.6839, allocations: 1.088 MB / 0.9448 GB, free: 7.246 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001822/0.6857, allocations: 1.725 MB / 0.9465 GB, free: 5.516 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001411/0.6872, allocations: 1.146 MB / 0.9476 GB, free: 4.34 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.6887, allocations: 0.7135 MB / 0.9483 GB, free: 3.637 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000747/0.6895, allocations: 0.6224 MB / 0.9489 GB, free: 3.012 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001925/0.6897, allocations: 136 kB / 0.9491 GB, free: 2.879 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001899/0.6916, allocations: 1.026 MB / 0.9501 GB, free: 1.852 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000377/0.692, allocations: 390.8 kB / 0.9504 GB, free: 1.469 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.000676/0.6927, allocations: 0.6763 MB / 0.9511 GB, free: 0.7891 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003044/0.6957, allocations: 2.242 MB / 0.9533 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.6957, allocations: 0 / 0.9533 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6958, allocations: 0 / 0.9533 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.467e-05/0.6958, allocations: 4 kB / 0.9533 GB, free: 14.54 MB / 0.7169 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.003238/0.699, allocations: 1.786 MB / 0.955 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.6991, allocations: 12.03 kB / 0.9551 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001879/0.6993, allocations: 148.1 kB / 0.9552 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001638/0.7009, allocations: 278.9 kB / 0.9555 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.7025, allocations: 1.086 MB / 0.9565 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.671e-05/0.7025, allocations: 78 kB / 0.9566 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.7027, allocations: 92 kB / 0.9567 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/0.7046, allocations: 1.106 MB / 0.9578 GB, free: 9.812 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.7047, allocations: 0 / 0.9578 GB, free: 9.812 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.7048, allocations: 44 kB / 0.9578 GB, free: 9.77 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/0.7048, allocations: 24 kB / 0.9578 GB, free: 9.746 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00235/0.7072, allocations: 1.327 MB / 0.9591 GB, free: 8.422 MB / 0.7169 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.005256/0.7124, allocations: 3.455 MB / 0.9625 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00207/0.7145, allocations: 1.11 MB / 0.9636 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008042/0.7153, allocations: 426.2 kB / 0.964 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002425/0.7156, allocations: 142 kB / 0.9641 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0012/0.7168, allocations: 0.6177 MB / 0.9647 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=95): time 2.485e-06/0.7168, allocations: 0 / 0.9647 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of matching and sorting (n=95): time 0.004296/0.7211, allocations: 1.64 MB / 0.9663 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/0.7213, allocations: 204.8 kB / 0.9665 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.7226, allocations: 1.013 MB / 0.9675 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.808e-05/0.7227, allocations: 45.7 kB / 0.9676 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004325/0.7231, allocations: 481.2 kB / 0.968 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002779/0.7234, allocations: 325.2 kB / 0.9683 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002763/0.7237, allocations: 170.6 kB / 0.9685 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.7238, allocations: 337.9 kB / 0.9688 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007093/0.7246, allocations: 329.8 kB / 0.9691 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008605/0.7254, allocations: 481.1 kB / 0.9696 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.727, allocations: 0.7648 MB / 0.9703 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.727, allocations: 0 / 0.9703 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002515/0.7295, allocations: 1.041 MB / 0.9714 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.7295, allocations: 4.062 kB / 0.9714 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.7296, allocations: 8 kB / 0.9714 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007268/0.7303, allocations: 113.5 kB / 0.9715 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008913/0.7312, allocations: 199.7 kB / 0.9717 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003367/0.7346, allocations: 3.067 MB / 0.9747 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009715/0.7356, allocations: 103.5 kB / 0.9748 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.338e-05/0.7356, allocations: 35.97 kB / 0.9748 GB, free: 7.688 MB / 0.7325 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.0005348/0.7362, allocations: 313.8 kB / 0.9751 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.7364, allocations: 111.3 kB / 0.9752 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00304/0.7394, allocations: 1.318 MB / 0.9765 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.7395, allocations: 8 kB / 0.9765 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7395, allocations: 4 kB / 0.9765 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.7395, allocations: 7.922 kB / 0.9765 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00418/0.7437, allocations: 2.451 MB / 0.9789 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.7437, allocations: 4 kB / 0.9789 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000801/0.7445, allocations: 183.7 kB / 0.9791 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000571/0.7451, allocations: 113.5 kB / 0.9792 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.51e-05/0.7452, allocations: 27.98 kB / 0.9792 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00308/0.7482, allocations: 3.096 MB / 0.9822 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.7483, allocations: 0 / 0.9822 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/0.7509, allocations: 1.237 MB / 0.9834 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004562/0.7514, allocations: 336 kB / 0.9838 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.7515, allocations: 24 kB / 0.9838 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008086/0.7524, allocations: 75.86 kB / 0.9839 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/0.7525, allocations: 89 kB / 0.9839 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.431e-05/0.7526, allocations: 43.97 kB / 0.984 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009014/0.7536, allocations: 0.745 MB / 0.9847 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7536, allocations: 0 / 0.9847 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001125/0.7547, allocations: 458.9 kB / 0.9851 GB, free: 12.66 MB / 0.7481 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.004968/0.7597, allocations: 2.405 MB / 0.9875 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002218/0.7619, allocations: 1.119 MB / 0.9886 GB, free: 9.27 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.7619, allocations: 3.938 kB / 0.9886 GB, free: 9.266 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.7632, allocations: 0.7293 MB / 0.9893 GB, free: 8.508 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.7647, allocations: 371.8 kB / 0.9897 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/0.7781, allocations: 8.369 MB / 0.9978 GB, free: 15.65 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007648/0.7789, allocations: 1.106 MB / 0.9989 GB, free: 14.52 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000949/0.7798, allocations: 315.9 kB / 0.9992 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006759/0.7805, allocations: 467.2 kB / 0.9997 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of SimCode: time 5.11e-07/0.7805, allocations: 4 kB / 0.9997 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06566/0.8462, allocations: 28.3 MB / 1.027 GB, free: 1.871 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/14.12, allocations: 13.41 kB / 1.027 GB, free: 1.867 MB / 0.7794 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)