Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.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.Validation.Boundary,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.Boundary,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Boundary",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.004655/0.004655, allocations: 97.23 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.001247/0.001247, allocations: 194.5 kB / 16.68 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002415/0.002415, allocations: 283 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9543/0.9543, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002778/0.002778, allocations: 99.84 kB / 0.681 GB, free: 16 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1575, allocations: 86.97 MB / 0.7659 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Boundary): time 0.5574/0.7149, allocations: 253.3 MB / 1.013 GB, free: 5.551 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02584/0.7408, allocations: 20.59 MB / 1.033 GB, free: 0.9023 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002258/0.7431, allocations: 75.44 kB / 1.033 GB, free: 0.8281 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002022/0.7452, allocations: 0.8415 MB / 1.034 GB, free: 15.98 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.006894/0.7521, allocations: 2.907 MB / 1.037 GB, free: 13.06 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.006533/0.7586, allocations: 2.755 MB / 1.04 GB, free: 10.32 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005587/0.7642, allocations: 3.823 MB / 1.044 GB, free: 6.492 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002038/0.7663, allocations: 1.306 MB / 1.045 GB, free: 5.164 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002762/0.7691, allocations: 1.422 MB / 1.046 GB, free: 3.742 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001422/0.7705, allocations: 0.9837 MB / 1.047 GB, free: 2.754 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002037/0.7707, allocations: 112 kB / 1.047 GB, free: 2.645 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007946/0.7787, allocations: 3.947 MB / 1.051 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0007585/0.7795, allocations: 0.6465 MB / 1.052 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.7807, allocations: 0.9834 MB / 1.053 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.007326/0.7881, allocations: 4.217 MB / 1.057 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.7881, allocations: 0 / 1.057 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7881, allocations: 0 / 1.057 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.76e-05/0.7881, allocations: 0 / 1.057 GB, free: 8.82 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.003374/0.7915, allocations: 2.385 MB / 1.059 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.7916, allocations: 8.031 kB / 1.059 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002233/0.7918, allocations: 186 kB / 1.059 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/0.7938, allocations: 0.4904 MB / 1.06 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/0.796, allocations: 1.389 MB / 1.061 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.823e-05/0.7961, allocations: 98.42 kB / 1.061 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.7962, allocations: 124 kB / 1.061 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/0.7987, allocations: 1.719 MB / 1.063 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/0.7987, allocations: 11.98 kB / 1.063 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.7988, allocations: 52 kB / 1.063 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.26e-05/0.7989, allocations: 71.84 kB / 1.063 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/0.8007, allocations: 1.229 MB / 1.064 GB, free: 0.8008 MB / 0.8106 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.007462/0.8081, allocations: 7.544 MB / 1.072 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009378/0.8091, allocations: 0.6578 MB / 1.072 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007459/0.8099, allocations: 0.6225 MB / 1.073 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001707/0.8116, allocations: 1.867 MB / 1.075 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.8116, allocations: 50.5 kB / 1.075 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=72): time 2.395e-06/0.8116, allocations: 0 / 1.075 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of matching and sorting (n=72): time 0.002396/0.814, allocations: 1.398 MB / 1.076 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000175/0.8142, allocations: 306.6 kB / 1.077 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002398/0.8166, allocations: 1.888 MB / 1.078 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.477e-05/0.8167, allocations: 41.7 kB / 1.078 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006944/0.8174, allocations: 0.7293 MB / 1.079 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/0.8176, allocations: 253.8 kB / 1.079 GB, free: 416 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.8178, allocations: 138.3 kB / 1.08 GB, free: 272 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.818, allocations: 337.9 kB / 1.08 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004397/0.8185, allocations: 329.1 kB / 1.08 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007059/0.8192, allocations: 0.5625 MB / 1.081 GB, free: 15 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.8203, allocations: 0.853 MB / 1.082 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.8203, allocations: 4 kB / 1.082 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001497/0.8218, allocations: 1.02 MB / 1.083 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.8218, allocations: 8 kB / 1.083 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.8218, allocations: 4.078 kB / 1.083 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.8218, allocations: 8 kB / 1.083 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/0.8223, allocations: 123.8 kB / 1.083 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.8223, allocations: 8.109 kB / 1.083 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000645/0.8229, allocations: 142.8 kB / 1.083 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.53e-05/0.823, allocations: 39.98 kB / 1.083 GB, free: 12.73 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006195/0.8237, allocations: 458.1 kB / 1.083 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003692/0.824, allocations: 198.7 kB / 1.083 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/0.8257, allocations: 1.083 MB / 1.085 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.8258, allocations: 16.5 kB / 1.085 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.8258, allocations: 4 kB / 1.085 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.8258, allocations: 7.984 kB / 1.085 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/0.8371, allocations: 8.761 MB / 1.093 GB, free: 1.703 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.947e-05/0.8372, allocations: 16.22 kB / 1.093 GB, free: 1.688 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004185/0.8376, allocations: 151.7 kB / 1.093 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.37e-05/0.8376, allocations: 20 kB / 1.093 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.868e-05/0.8377, allocations: 39.94 kB / 1.093 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.141e-05/0.8377, allocations: 23.92 kB / 1.093 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-05/0.8377, allocations: 28 kB / 1.093 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2783/1.116, allocations: 1.677 MB / 1.095 GB, free: 289.8 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007365/1.117, allocations: 423.5 kB / 1.095 GB, free: 289.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/1.117, allocations: 41.34 kB / 1.095 GB, free: 289.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006571/1.118, allocations: 25.72 kB / 1.095 GB, free: 289.7 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/1.118, allocations: 103.4 kB / 1.096 GB, free: 289.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.563e-05/1.118, allocations: 57.36 kB / 1.096 GB, free: 289.7 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001668/1.12, allocations: 1.317 MB / 1.097 GB, free: 289.6 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/1.12, allocations: 0 / 1.097 GB, free: 289.6 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001492/1.121, allocations: 0.5222 MB / 1.097 GB, free: 289.6 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00341/1.124, allocations: 3.014 MB / 1.1 GB, free: 288.2 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001113/1.126, allocations: 0.852 MB / 1.101 GB, free: 287.9 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.126, allocations: 2.812 kB / 1.101 GB, free: 287.9 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005396/1.126, allocations: 494.4 kB / 1.102 GB, free: 287.8 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005004/1.131, allocations: 1.331 MB / 1.103 GB, free: 287.5 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01519/1.146, allocations: 13.92 MB / 1.117 GB, free: 280.7 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009302/1.147, allocations: 1.404 MB / 1.118 GB, free: 279.9 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001394/1.149, allocations: 487.5 kB / 1.118 GB, free: 279.8 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006012/1.149, allocations: 0.6539 MB / 1.119 GB, free: 279.3 MB / 0.8419 GB Notification: Performance of SimCode: time 7.91e-07/1.149, allocations: 0 / 1.119 GB, free: 279.3 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08667/1.236, allocations: 60.12 MB / 1.178 GB, free: 241.5 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/12.13, allocations: 13.67 kB / 1.178 GB, free: 241.5 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Boundary.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe 2>&1)