Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Validation.BoundaryWithX_in,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="IBPSA_latest_IBPSA_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.0007672/0.0007672, allocations: 92.86 kB / 15.7 MB, free: 472 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.00089/0.00089, allocations: 170.2 kB / 16.58 MB, free: 6.051 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.191/1.191, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6115/0.6115, allocations: 113.7 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002577/0.0002577, allocations: 8 kB / 493.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1164, allocations: 77.13 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Validation.BoundaryWithX_in): time 0.4004/0.5168, allocations: 195.6 MB / 0.7479 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01168/0.5285, allocations: 11.46 MB / 0.7591 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.5296, allocations: 43.56 kB / 0.7592 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.5306, allocations: 357.3 kB / 0.7595 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003244/0.5339, allocations: 1.407 MB / 0.7609 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003102/0.537, allocations: 1.299 MB / 0.7622 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002568/0.5396, allocations: 2.616 MB / 0.7647 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.5408, allocations: 0.8908 MB / 0.7656 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.542, allocations: 0.6845 MB / 0.7662 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009719/0.543, allocations: 0.6458 MB / 0.7669 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001655/0.5432, allocations: 36 kB / 0.7669 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004158/0.5473, allocations: 2.159 MB / 0.769 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004829/0.5478, allocations: 498.6 kB / 0.7695 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003386/0.5482, allocations: 309 kB / 0.7698 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002327/0.5505, allocations: 2.26 MB / 0.772 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5505, allocations: 0 / 0.772 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5505, allocations: 4 kB / 0.772 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.586e-05/0.5506, allocations: 0 / 0.772 GB, free: 14.39 MB / 0.5919 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.001955/0.5526, allocations: 1.46 MB / 0.7734 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.5526, allocations: 8.031 kB / 0.7734 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002188/0.5528, allocations: 176.7 kB / 0.7736 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/0.5542, allocations: 369.8 kB / 0.774 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.5553, allocations: 0.8574 MB / 0.7748 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.137e-05/0.5553, allocations: 78.06 kB / 0.7749 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.5554, allocations: 104 kB / 0.775 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.5572, allocations: 1.521 MB / 0.7765 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.5572, allocations: 7.938 kB / 0.7765 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.699e-05/0.5573, allocations: 48 kB / 0.7765 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.577e-05/0.5574, allocations: 57.55 kB / 0.7766 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.5586, allocations: 1.013 MB / 0.7776 GB, free: 8.48 MB / 0.5919 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.00456/0.5632, allocations: 5.914 MB / 0.7833 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004525/0.5636, allocations: 326.2 kB / 0.7836 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/0.5639, allocations: 247.3 kB / 0.7839 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005347/0.5644, allocations: 0.7197 MB / 0.7846 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.5645, allocations: 42.5 kB / 0.7846 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=28): time 1.483e-06/0.5645, allocations: 0 / 0.7846 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28): time 0.001023/0.5655, allocations: 0.656 MB / 0.7853 GB, free: 64 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/0.5656, allocations: 136.5 kB / 0.7854 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/0.5673, allocations: 1.667 MB / 0.787 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.5674, allocations: 33.7 kB / 0.787 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000448/0.5678, allocations: 0.57 MB / 0.7876 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.018e-05/0.5679, allocations: 94.56 kB / 0.7877 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.494e-05/0.5679, allocations: 4 kB / 0.7877 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.982e-05/0.568, allocations: 314 kB / 0.788 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.5682, allocations: 167.8 kB / 0.7882 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.5685, allocations: 260.5 kB / 0.7884 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/0.5687, allocations: 192.4 kB / 0.7886 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.5687, allocations: 4 kB / 0.7886 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006201/0.5693, allocations: 0.5425 MB / 0.7891 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.5694, allocations: 4 kB / 0.7891 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.5694, allocations: 4 kB / 0.7891 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.5694, allocations: 4.188 kB / 0.7891 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.5696, allocations: 55.92 kB / 0.7892 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.5696, allocations: 4 kB / 0.7892 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004151/0.57, allocations: 114.5 kB / 0.7893 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/0.5701, allocations: 24.08 kB / 0.7893 GB, free: 11.8 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003619/0.5705, allocations: 373.6 kB / 0.7897 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.5706, allocations: 154.2 kB / 0.7898 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004738/0.5711, allocations: 380.8 kB / 0.7902 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.5711, allocations: 4 kB / 0.7902 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5712, allocations: 0 / 0.7902 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.5712, allocations: 7.938 kB / 0.7902 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002632/0.5738, allocations: 2.547 MB / 0.7927 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.5738, allocations: 8.812 kB / 0.7927 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.574, allocations: 55.84 kB / 0.7928 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.574, allocations: 12 kB / 0.7928 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.574, allocations: 12 kB / 0.7928 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/0.574, allocations: 8 kB / 0.7928 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.5741, allocations: 11.94 kB / 0.7928 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005418/0.5746, allocations: 0.628 MB / 0.7934 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003141/0.5749, allocations: 303.2 kB / 0.7937 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.5751, allocations: 20.05 kB / 0.7937 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003173/0.5754, allocations: 19.94 kB / 0.7937 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.5754, allocations: 31.88 kB / 0.7938 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.5755, allocations: 23.98 kB / 0.7938 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00121/0.5767, allocations: 1.195 MB / 0.795 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.182e-06/0.5767, allocations: 0 / 0.795 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007897/0.5775, allocations: 347.7 kB / 0.7953 GB, free: 5.375 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001755/0.5792, allocations: 1.542 MB / 0.7968 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004196/0.5797, allocations: 339.5 kB / 0.7971 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5797, allocations: 384 / 0.7971 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.5799, allocations: 159.7 kB / 0.7973 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0029/0.5828, allocations: 0.8551 MB / 0.7981 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.5929, allocations: 8.076 MB / 0.806 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006743/0.5936, allocations: 1.208 MB / 0.8072 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007986/0.5944, allocations: 295 kB / 0.8075 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004712/0.5949, allocations: 463.3 kB / 0.8079 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of SimCode: time 5.41e-07/0.5949, allocations: 0 / 0.8079 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2715/0.8664, allocations: 40.92 MB / 0.8479 GB, free: 206 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001236/0.8666, allocations: 222.2 kB / 0.8481 GB, free: 205.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.199/3.066, allocations: 0 / 0.8481 GB, free: 205.7 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Validation_BoundaryWithX_in.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) Environment - environmentSimulation: