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.001074/0.001074, allocations: 108 kB / 15.61 MB, free: 152 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.001086/0.001086, allocations: 195.2 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.231/1.231, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001991/0.001991, allocations: 274.6 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8743/0.8743, allocations: 169.3 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 93.34 kB / 0.5953 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.13, allocations: 86.99 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.4371/0.5671, allocations: 214 MB / 0.8893 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01326/0.5804, allocations: 12.16 MB / 0.9012 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.5816, allocations: 42.75 kB / 0.9012 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.5828, allocations: 0.5061 MB / 0.9017 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003915/0.5867, allocations: 1.88 MB / 0.9036 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004006/0.5907, allocations: 1.893 MB / 0.9054 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002432/0.5932, allocations: 2.355 MB / 0.9077 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.5946, allocations: 1.229 MB / 0.9089 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.5958, allocations: 0.8132 MB / 0.9097 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006814/0.5965, allocations: 0.6729 MB / 0.9104 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.5966, allocations: 92 kB / 0.9105 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00503/0.6017, allocations: 2.844 MB / 0.9132 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004553/0.6021, allocations: 0.5493 MB / 0.9138 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006986/0.6028, allocations: 0.727 MB / 0.9145 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003954/0.6068, allocations: 3.167 MB / 0.9176 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6068, allocations: 0 / 0.9176 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.173e-06/0.6068, allocations: 0 / 0.9176 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.6068, allocations: 0 / 0.9176 GB, free: 4.32 MB / 0.6231 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.001944/0.6088, allocations: 1.748 MB / 0.9193 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.6088, allocations: 12.03 kB / 0.9193 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001747/0.609, allocations: 168.8 kB / 0.9194 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/0.6105, allocations: 373.7 kB / 0.9198 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.6117, allocations: 0.8995 MB / 0.9207 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.257e-05/0.6117, allocations: 74.06 kB / 0.9208 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.6119, allocations: 104 kB / 0.9209 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/0.6138, allocations: 1.525 MB / 0.9223 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.6138, allocations: 11.94 kB / 0.9224 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-05/0.6139, allocations: 51.92 kB / 0.9224 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.466e-05/0.614, allocations: 69.47 kB / 0.9225 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.6153, allocations: 1.021 MB / 0.9235 GB, free: 14.05 MB / 0.6387 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.00554/0.6208, allocations: 5.954 MB / 0.9293 GB, free: 7.785 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005313/0.6214, allocations: 327.4 kB / 0.9296 GB, free: 7.43 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.6217, allocations: 243.3 kB / 0.9298 GB, free: 7.18 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006978/0.6224, allocations: 0.7117 MB / 0.9305 GB, free: 6.32 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.6224, allocations: 42.5 kB / 0.9306 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=28): time 1.873e-06/0.6224, allocations: 0 / 0.9306 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=28): time 0.001229/0.6237, allocations: 0.672 MB / 0.9312 GB, free: 5.59 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/0.6237, allocations: 140.5 kB / 0.9314 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00186/0.6256, allocations: 1.682 MB / 0.933 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.6257, allocations: 33.7 kB / 0.933 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004735/0.6261, allocations: 0.5583 MB / 0.9336 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.701e-05/0.6262, allocations: 94.64 kB / 0.9337 GB, free: 3.035 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.6263, allocations: 69.59 kB / 0.9337 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.6265, allocations: 314 kB / 0.934 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.6267, allocations: 167.9 kB / 0.9342 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.627, allocations: 264.5 kB / 0.9344 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004858/0.6275, allocations: 408.2 kB / 0.9348 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6275, allocations: 0 / 0.9348 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007317/0.6282, allocations: 0.5426 MB / 0.9354 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.6282, allocations: 7.984 kB / 0.9354 GB, free: 1.207 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.6283, allocations: 4 kB / 0.9354 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.6283, allocations: 4 kB / 0.9354 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.6285, allocations: 55.92 kB / 0.9354 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.636e-05/0.6285, allocations: 7.938 kB / 0.9354 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000456/0.629, allocations: 106.5 kB / 0.9355 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/0.629, allocations: 20 kB / 0.9356 GB, free: 1.012 MB / 0.6387 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.0004291/0.6295, allocations: 386.4 kB / 0.9359 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.6297, allocations: 134.3 kB / 0.9361 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005361/0.6302, allocations: 385 kB / 0.9364 GB, free: 96 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.6302, allocations: 4 kB / 0.9364 GB, free: 92 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.6302, allocations: 3.938 kB / 0.9364 GB, free: 88 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.6303, allocations: 3.984 kB / 0.9364 GB, free: 84 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00354/0.6338, allocations: 2.611 MB / 0.939 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.6338, allocations: 4.812 kB / 0.939 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.634, allocations: 51.86 kB / 0.939 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.634, allocations: 12 kB / 0.939 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.6341, allocations: 19.92 kB / 0.9391 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.6341, allocations: 8 kB / 0.9391 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/0.6341, allocations: 7.938 kB / 0.9391 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006816/0.6348, allocations: 0.6275 MB / 0.9397 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003943/0.6352, allocations: 295.2 kB / 0.94 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/0.6354, allocations: 15.92 kB / 0.94 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/0.6357, allocations: 12 kB / 0.94 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/0.6358, allocations: 39.86 kB / 0.94 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.6358, allocations: 12 kB / 0.94 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001474/0.6373, allocations: 1.227 MB / 0.9412 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6373, allocations: 0 / 0.9412 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009023/0.6382, allocations: 335.8 kB / 0.9416 GB, free: 10.52 MB / 0.6544 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.002392/0.6406, allocations: 1.69 MB / 0.9432 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005292/0.6412, allocations: 351.5 kB / 0.9436 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6412, allocations: 0 / 0.9436 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.6414, allocations: 165.5 kB / 0.9437 GB, free: 8.238 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003671/0.6451, allocations: 0.924 MB / 0.9446 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/0.6585, allocations: 11.56 MB / 0.9559 GB, free: 11.21 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008843/0.6594, allocations: 1.208 MB / 0.9571 GB, free: 9.973 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009069/0.6603, allocations: 306.6 kB / 0.9574 GB, free: 9.668 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005367/0.6609, allocations: 459.3 kB / 0.9578 GB, free: 9.219 MB / 0.67 GB Notification: Performance of SimCode: time 6.11e-07/0.6609, allocations: 0 / 0.9578 GB, free: 9.219 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0688/0.7297, allocations: 43.16 MB / 1 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.942/9.672, allocations: 11.94 kB / 1 GB, free: 14.61 MB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)