Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.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.BoundaryWithX_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in",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.001237/0.001237, allocations: 108 kB / 15.61 MB, free: 148 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.001213/0.001213, allocations: 195.3 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.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002456/0.002456, allocations: 275.1 kB / 290.7 MB, free: 1.961 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.026/1.026, allocations: 178.6 MB / 0.5073 GB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002673/0.002673, allocations: 94.72 kB / 0.6065 GB, free: 24.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.151, allocations: 89.15 MB / 0.6936 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.4724/0.6234, allocations: 214.1 MB / 0.9026 GB, free: 5.379 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01523/0.6387, allocations: 12.18 MB / 0.9145 GB, free: 9.168 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000978/0.6397, allocations: 43.69 kB / 0.9146 GB, free: 9.125 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.6409, allocations: 0.508 MB / 0.9151 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004084/0.645, allocations: 1.871 MB / 0.9169 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004062/0.6491, allocations: 1.897 MB / 0.9187 GB, free: 4.844 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002454/0.6515, allocations: 2.348 MB / 0.921 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/0.653, allocations: 1.228 MB / 0.9222 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.6541, allocations: 0.8248 MB / 0.923 GB, free: 436 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007594/0.6549, allocations: 0.6536 MB / 0.9237 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.6551, allocations: 92 kB / 0.9238 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005226/0.6603, allocations: 2.855 MB / 0.9266 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005534/0.6609, allocations: 0.5493 MB / 0.9271 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007869/0.6617, allocations: 0.7308 MB / 0.9278 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004182/0.6659, allocations: 3.14 MB / 0.9309 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.6659, allocations: 0 / 0.9309 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6659, allocations: 0 / 0.9309 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.6659, allocations: 0 / 0.9309 GB, free: 8.387 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.00221/0.6681, allocations: 1.744 MB / 0.9326 GB, free: 6.586 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.6682, allocations: 12.03 kB / 0.9326 GB, free: 6.574 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001913/0.6684, allocations: 164.8 kB / 0.9327 GB, free: 6.402 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/0.67, allocations: 381.8 kB / 0.9331 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.6712, allocations: 0.8839 MB / 0.934 GB, free: 5.098 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.745e-05/0.6713, allocations: 78.06 kB / 0.934 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.6715, allocations: 104 kB / 0.9341 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.6736, allocations: 1.529 MB / 0.9356 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.6737, allocations: 3.938 kB / 0.9356 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.764e-05/0.6738, allocations: 52 kB / 0.9357 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-05/0.6738, allocations: 61.47 kB / 0.9358 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/0.6753, allocations: 1.025 MB / 0.9368 GB, free: 2.141 MB / 0.6544 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.006438/0.6818, allocations: 5.96 MB / 0.9426 GB, free: 11.87 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005721/0.6823, allocations: 322.1 kB / 0.9429 GB, free: 11.52 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003094/0.6827, allocations: 247.4 kB / 0.9431 GB, free: 11.26 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007617/0.6834, allocations: 0.712 MB / 0.9438 GB, free: 10.4 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.6835, allocations: 42.5 kB / 0.9439 GB, free: 10.35 MB / 0.67 GB Notification: Performance of pre-optimization done (n=28): time 1.713e-06/0.6835, allocations: 0 / 0.9439 GB, free: 10.35 MB / 0.67 GB Notification: Performance of matching and sorting (n=28): time 0.00126/0.6848, allocations: 0.6679 MB / 0.9445 GB, free: 9.676 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.406e-05/0.6849, allocations: 132.5 kB / 0.9446 GB, free: 9.516 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002078/0.6869, allocations: 1.694 MB / 0.9463 GB, free: 7.812 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.881e-05/0.687, allocations: 33.83 kB / 0.9463 GB, free: 7.773 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005404/0.6875, allocations: 0.5583 MB / 0.9469 GB, free: 7.211 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.833e-05/0.6876, allocations: 94.56 kB / 0.947 GB, free: 7.117 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.6877, allocations: 65.69 kB / 0.947 GB, free: 7.047 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.6879, allocations: 318 kB / 0.9473 GB, free: 6.73 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.6881, allocations: 151.9 kB / 0.9475 GB, free: 6.582 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/0.6885, allocations: 274.5 kB / 0.9477 GB, free: 6.285 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005298/0.689, allocations: 424.3 kB / 0.9481 GB, free: 5.84 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.689, allocations: 3.938 kB / 0.9481 GB, free: 5.836 MB / 0.67 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000762/0.6898, allocations: 0.5347 MB / 0.9487 GB, free: 5.293 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.6898, allocations: 8 kB / 0.9487 GB, free: 5.285 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.6898, allocations: 4 kB / 0.9487 GB, free: 5.281 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.6898, allocations: 0 / 0.9487 GB, free: 5.281 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.6901, allocations: 56.11 kB / 0.9487 GB, free: 5.227 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.6901, allocations: 7.938 kB / 0.9487 GB, free: 5.219 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004288/0.6905, allocations: 110.5 kB / 0.9488 GB, free: 5.109 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/0.6906, allocations: 20 kB / 0.9489 GB, free: 5.09 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (30): * Single equations (assignments): 30 * 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.0004562/0.691, allocations: 377.6 kB / 0.9492 GB, free: 4.711 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.6913, allocations: 142.2 kB / 0.9494 GB, free: 4.57 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005688/0.6918, allocations: 385.3 kB / 0.9497 GB, free: 4.172 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.6919, allocations: 4 kB / 0.9497 GB, free: 4.168 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.6919, allocations: 7.922 kB / 0.9497 GB, free: 4.16 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.6919, allocations: 4 kB / 0.9497 GB, free: 4.156 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003603/0.6955, allocations: 2.611 MB / 0.9523 GB, free: 1.363 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.6955, allocations: 8 kB / 0.9523 GB, free: 1.355 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.6957, allocations: 51.86 kB / 0.9523 GB, free: 1.305 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-06/0.6957, allocations: 8 kB / 0.9523 GB, free: 1.297 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.6957, allocations: 15.98 kB / 0.9524 GB, free: 1.281 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.155e-05/0.6958, allocations: 8 kB / 0.9524 GB, free: 1.273 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/0.6958, allocations: 11.94 kB / 0.9524 GB, free: 1.262 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000693/0.6965, allocations: 0.6279 MB / 0.953 GB, free: 0.5352 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004272/0.6969, allocations: 287.3 kB / 0.9533 GB, free: 240 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.6971, allocations: 23.92 kB / 0.9533 GB, free: 216 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/0.6974, allocations: 12 kB / 0.9533 GB, free: 204 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.6975, allocations: 27.86 kB / 0.9533 GB, free: 176 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.6975, allocations: 20 kB / 0.9533 GB, free: 156 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001515/0.699, allocations: 1.227 MB / 0.9545 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.699, allocations: 0 / 0.9545 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009087/0.7, allocations: 339.7 kB / 0.9549 GB, free: 14.59 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (26): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.002481/0.7024, allocations: 1.68 MB / 0.9565 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005565/0.703, allocations: 355.6 kB / 0.9569 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.703, allocations: 4.375 kB / 0.9569 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.7032, allocations: 163.6 kB / 0.957 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003653/0.7069, allocations: 0.9188 MB / 0.9579 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/0.7211, allocations: 11.56 MB / 0.9692 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009026/0.722, allocations: 1.204 MB / 0.9704 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009247/0.723, allocations: 298.7 kB / 0.9707 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005499/0.7235, allocations: 463.3 kB / 0.9711 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of SimCode: time 8.81e-07/0.7235, allocations: 4 kB / 0.9711 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07998/0.8035, allocations: 43.15 MB / 1.013 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.288/9.091, allocations: 7.75 kB / 1.013 GB, free: 2.695 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in_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_BoundaryWithX_in.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)