Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="BuildSysPro_BuildSysPro_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.001155/0.001155, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001436/0.001436, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.06/1.06, allocations: 143.3 MB / 434.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003455, allocations: 15.98 kB / 0.5159 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2064, allocations: 83.4 MB / 0.5973 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sources.Validation.BoundaryWithX_in): time 0.6115/0.818, allocations: 171.5 MB / 0.7648 GB, free: 488 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01446/0.8325, allocations: 10.59 MB / 0.7751 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001732/0.8343, allocations: 43.62 kB / 0.7752 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002288/0.8366, allocations: 0.6065 MB / 0.7758 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004756/0.8414, allocations: 1.449 MB / 0.7772 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004816/0.8462, allocations: 1.673 MB / 0.7788 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002531/0.8488, allocations: 1.345 MB / 0.7801 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001382/0.8502, allocations: 0.9255 MB / 0.781 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001234/0.8514, allocations: 0.5994 MB / 0.7816 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005572/0.852, allocations: 442 kB / 0.7821 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.357e-05/0.8521, allocations: 36 kB / 0.7821 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004252/0.8563, allocations: 1.685 MB / 0.7837 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004584/0.8568, allocations: 458.8 kB / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003646/0.8572, allocations: 309 kB / 0.7845 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002984/0.8602, allocations: 2.168 MB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.8602, allocations: 4 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8602, allocations: 0 / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.495e-05/0.8603, allocations: 4 kB / 0.7866 GB, free: 10.16 MB / 0.6075 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.001964/0.8622, allocations: 1.445 MB / 0.788 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.8623, allocations: 8.031 kB / 0.788 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000186/0.8625, allocations: 168.8 kB / 0.7882 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001685/0.8642, allocations: 377.8 kB / 0.7885 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.8656, allocations: 0.8612 MB / 0.7894 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.588e-05/0.8657, allocations: 78.06 kB / 0.7894 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.8658, allocations: 103.9 kB / 0.7895 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002165/0.868, allocations: 1.513 MB / 0.791 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.868, allocations: 3.938 kB / 0.791 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.116e-05/0.8681, allocations: 48 kB / 0.7911 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.676e-05/0.8682, allocations: 57.55 kB / 0.7911 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.8696, allocations: 1.021 MB / 0.7921 GB, free: 4.277 MB / 0.6075 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.006566/0.8762, allocations: 5.84 MB / 0.7978 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005864/0.8768, allocations: 314.2 kB / 0.7981 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004156/0.8773, allocations: 372.4 kB / 0.7985 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.8773, allocations: 42.55 kB / 0.7985 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=28): time 2.224e-06/0.8773, allocations: 0 / 0.7985 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28): time 0.001348/0.8787, allocations: 0.6692 MB / 0.7992 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.086e-05/0.8788, allocations: 136.5 kB / 0.7993 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/0.8808, allocations: 1.667 MB / 0.8009 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.122e-05/0.8808, allocations: 33.7 kB / 0.801 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004975/0.8813, allocations: 0.5621 MB / 0.8015 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.165e-05/0.8814, allocations: 94.64 kB / 0.8016 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.631e-05/0.8815, allocations: 8 kB / 0.8016 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.8816, allocations: 313.9 kB / 0.8019 GB, free: 9.754 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.8818, allocations: 163.9 kB / 0.8021 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.8821, allocations: 265.5 kB / 0.8023 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.8823, allocations: 193 kB / 0.8025 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.8823, allocations: 0 / 0.8025 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007345/0.8831, allocations: 0.5432 MB / 0.803 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.8831, allocations: 8 kB / 0.803 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.8831, allocations: 0 / 0.803 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.8831, allocations: 8.125 kB / 0.803 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.8834, allocations: 59.91 kB / 0.8031 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.8834, allocations: 11.77 kB / 0.8031 GB, free: 8.484 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000607/0.884, allocations: 114.5 kB / 0.8032 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.814e-05/0.8841, allocations: 20 kB / 0.8032 GB, free: 8.352 MB / 0.6231 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.0004866/0.8846, allocations: 381.6 kB / 0.8036 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.8848, allocations: 142.2 kB / 0.8037 GB, free: 7.828 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005665/0.8854, allocations: 376.3 kB / 0.8041 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.8854, allocations: 4 kB / 0.8041 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.8854, allocations: 0 / 0.8041 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.8854, allocations: 3.984 kB / 0.8041 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003255/0.8887, allocations: 2.509 MB / 0.8066 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.8887, allocations: 4 kB / 0.8066 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.8889, allocations: 51.91 kB / 0.8066 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.217e-05/0.8889, allocations: 8 kB / 0.8066 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.8889, allocations: 12 kB / 0.8066 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/0.889, allocations: 16 kB / 0.8066 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.353e-06/0.889, allocations: 8.5 kB / 0.8067 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008651/0.8898, allocations: 0.9973 MB / 0.8076 GB, free: 3.391 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005861/0.8904, allocations: 307.2 kB / 0.8079 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.8906, allocations: 15.98 kB / 0.8079 GB, free: 3.055 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/0.891, allocations: 15.95 kB / 0.808 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.8911, allocations: 39.86 kB / 0.808 GB, free: 3 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.655e-05/0.8911, allocations: 16 kB / 0.808 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001515/0.8926, allocations: 1.195 MB / 0.8092 GB, free: 1.793 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8926, allocations: 0 / 0.8092 GB, free: 1.793 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001103/0.8937, allocations: 331.7 kB / 0.8095 GB, free: 1.469 MB / 0.6231 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.002939/0.8967, allocations: 3.561 MB / 0.813 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005504/0.8973, allocations: 344.3 kB / 0.8133 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.8973, allocations: 0 / 0.8133 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.8975, allocations: 161.3 kB / 0.8135 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003835/0.9013, allocations: 0.8419 MB / 0.8143 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/0.9155, allocations: 9.223 MB / 0.8233 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.9166, allocations: 1.238 MB / 0.8245 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001104/0.9177, allocations: 295.9 kB / 0.8248 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005753/0.9183, allocations: 463.3 kB / 0.8252 GB, free: 0.7227 MB / 0.6387 GB Notification: Performance of SimCode: time 7.52e-07/0.9183, allocations: 0 / 0.8252 GB, free: 0.7227 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4157/1.334, allocations: 41.6 MB / 0.8658 GB, free: 203 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001553/1.334, allocations: 229.4 kB / 0.8661 GB, free: 202.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.738/4.073, allocations: 0 / 0.8661 GB, free: 202.7 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Validation_BoundaryWithX_in.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) Environment - environmentSimulation: