Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.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.FixedResistances.Examples.CheckValve,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve",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.00565/0.00565, allocations: 100.8 kB / 15.87 MB, free: 6.32 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.00143/0.00143, allocations: 194.5 kB / 16.79 MB, free: 6.246 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.177/1.177, allocations: 222.9 MB / 240.5 MB, free: 13.85 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6433/0.6433, allocations: 115.3 MB / 405.9 MB, free: 6.555 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 60.12 kB / 493 MB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3108, allocations: 76.17 MB / 0.5558 GB, free: 35.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.01543/0.3262, allocations: 20.63 MB / 0.576 GB, free: 21.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005516/0.3318, allocations: 4.977 MB / 0.5808 GB, free: 17.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004488/0.3322, allocations: 16.53 kB / 0.5808 GB, free: 17.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000626/0.3329, allocations: 225.4 kB / 0.5811 GB, free: 17.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.3345, allocations: 0.7498 MB / 0.5818 GB, free: 16.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.336, allocations: 0.6337 MB / 0.5824 GB, free: 16.65 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001706/0.3377, allocations: 1.817 MB / 0.5842 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004439/0.3382, allocations: 379.5 kB / 0.5845 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007391/0.3389, allocations: 0.526 MB / 0.5851 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000495/0.3395, allocations: 460.9 kB / 0.5855 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.524e-05/0.3395, allocations: 21.94 kB / 0.5855 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.3406, allocations: 0.6005 MB / 0.5861 GB, free: 15.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.3407, allocations: 115.5 kB / 0.5862 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002232/0.3409, allocations: 271 kB / 0.5865 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008943/0.3419, allocations: 0.8161 MB / 0.5873 GB, free: 14.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3419, allocations: 0 / 0.5873 GB, free: 14.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3419, allocations: 0 / 0.5873 GB, free: 14.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.3419, allocations: 0 / 0.5873 GB, free: 14.74 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001318/0.3432, allocations: 0.9327 MB / 0.5882 GB, free: 14.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3432, allocations: 13.44 kB / 0.5882 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.005e-05/0.3433, allocations: 67.23 kB / 0.5883 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.3434, allocations: 63.59 kB / 0.5883 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004858/0.3439, allocations: 450.6 kB / 0.5888 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.3439, allocations: 30.5 kB / 0.5888 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-05/0.344, allocations: 31.72 kB / 0.5888 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006011/0.3446, allocations: 306.5 kB / 0.5891 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3446, allocations: 0 / 0.5891 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.3447, allocations: 14.84 kB / 0.5891 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.3447, allocations: 10.52 kB / 0.5891 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005803/0.3453, allocations: 268.4 kB / 0.5894 GB, free: 13.38 MB / 446.1 MB 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.001793/0.3471, allocations: 1.329 MB / 0.5907 GB, free: 12.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004645/0.3475, allocations: 256 kB / 0.5909 GB, free: 12.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/0.3478, allocations: 136.5 kB / 0.5911 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003064/0.3481, allocations: 0.5012 MB / 0.5915 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.3482, allocations: 41.19 kB / 0.5916 GB, free: 11.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.412e-06/0.3482, allocations: 224 / 0.5916 GB, free: 11.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.001579/0.3498, allocations: 0.5626 MB / 0.5921 GB, free: 11.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.3498, allocations: 61.69 kB / 0.5922 GB, free: 11.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000394/0.3502, allocations: 461.9 kB / 0.5926 GB, free: 11.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.3502, allocations: 36.14 kB / 0.5927 GB, free: 11.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.3503, allocations: 243.8 kB / 0.5929 GB, free: 10.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.571e-05/0.3504, allocations: 92.98 kB / 0.593 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.3505, allocations: 77.7 kB / 0.5931 GB, free: 10.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.142e-05/0.3506, allocations: 353.2 kB / 0.5934 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.3509, allocations: 119.7 kB / 0.5935 GB, free: 10.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000314/0.3512, allocations: 194.3 kB / 0.5937 GB, free: 10.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005317/0.3517, allocations: 262.8 kB / 0.5939 GB, free: 10 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-06/0.3517, allocations: 0 / 0.5939 GB, free: 10 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001417/0.3532, allocations: 498.6 kB / 0.5944 GB, free: 9.762 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3532, allocations: 11.78 kB / 0.5944 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3532, allocations: 0 / 0.5944 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003161/0.3535, allocations: 57.89 kB / 0.5945 GB, free: 9.727 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/0.3539, allocations: 66.55 kB / 0.5946 GB, free: 9.711 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002812/0.3541, allocations: 0.5641 MB / 0.5951 GB, free: 9.156 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004532/0.3546, allocations: 56.23 kB / 0.5952 GB, free: 9.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.3547, allocations: 18.27 kB / 0.5952 GB, free: 9.117 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003551/0.355, allocations: 245.7 kB / 0.5954 GB, free: 8.953 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000293/0.3553, allocations: 174.4 kB / 0.5956 GB, free: 8.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004961/0.3558, allocations: 258.8 kB / 0.5958 GB, free: 8.707 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/0.3558, allocations: 0 / 0.5958 GB, free: 8.707 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0006862/0.3565, allocations: 372.4 kB / 0.5962 GB, free: 8.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.815e-06/0.3565, allocations: 5.125 kB / 0.5962 GB, free: 8.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-06/0.3565, allocations: 1.094 kB / 0.5962 GB, free: 8.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.167e-06/0.3565, allocations: 6.406 kB / 0.5962 GB, free: 8.516 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/0.3569, allocations: 85.69 kB / 0.5963 GB, free: 8.488 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3569, allocations: 2.625 kB / 0.5963 GB, free: 8.488 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000427/0.3574, allocations: 60.2 kB / 0.5963 GB, free: 8.453 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.3574, allocations: 18.33 kB / 0.5964 GB, free: 8.445 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 8.947e-05/0.3575, allocations: 194.1 kB / 0.5965 GB, free: 8.254 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.54e-05/0.3576, allocations: 45.22 kB / 0.5966 GB, free: 8.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008075/0.3584, allocations: 423.6 kB / 0.597 GB, free: 7.973 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/0.3584, allocations: 6.641 kB / 0.597 GB, free: 7.969 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3584, allocations: 5.156 kB / 0.597 GB, free: 7.965 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.3584, allocations: 144 / 0.597 GB, free: 7.965 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.3597, allocations: 0.9557 MB / 0.5979 GB, free: 7.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3597, allocations: 1.25 kB / 0.5979 GB, free: 7.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.3599, allocations: 54.98 kB / 0.598 GB, free: 7.211 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001521/0.3601, allocations: 39.06 kB / 0.598 GB, free: 7.191 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.3601, allocations: 11.67 kB / 0.598 GB, free: 7.184 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002198/0.3603, allocations: 0.5578 MB / 0.5986 GB, free: 6.633 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3603, allocations: 2.094 kB / 0.5986 GB, free: 6.633 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006724/0.361, allocations: 499.2 kB / 0.5991 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.3611, allocations: 153.1 kB / 0.5992 GB, free: 6.141 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.772e-05/0.3612, allocations: 6.75 kB / 0.5992 GB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003439/0.3615, allocations: 43.11 kB / 0.5992 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.3616, allocations: 22.28 kB / 0.5993 GB, free: 6.102 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.3616, allocations: 12.25 kB / 0.5993 GB, free: 6.098 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000284/0.3619, allocations: 321.3 kB / 0.5996 GB, free: 5.906 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3619, allocations: 0 / 0.5996 GB, free: 5.906 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007296/0.3627, allocations: 255.5 kB / 0.5998 GB, free: 5.848 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001154/0.3638, allocations: 1.178 MB / 0.601 GB, free: 4.906 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.3649, allocations: 456.4 kB / 0.6014 GB, free: 4.723 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3649, allocations: 0 / 0.6014 GB, free: 4.723 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000357/0.3653, allocations: 172.4 kB / 0.6016 GB, free: 4.648 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.3665, allocations: 256.1 kB / 0.6018 GB, free: 4.527 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005101/0.3716, allocations: 4.243 MB / 0.606 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.3719, allocations: 0.8513 MB / 0.6068 GB, free: 15.64 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004552/0.3724, allocations: 120.2 kB / 0.6069 GB, free: 15.53 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.3726, allocations: 179.4 kB / 0.6071 GB, free: 15.35 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3726, allocations: 0 / 0.6071 GB, free: 15.35 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.532/0.9047, allocations: 14.57 MB / 0.6213 GB, free: 1.098 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002402/0.905, allocations: 278.2 kB / 0.6216 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.352/3.257, allocations: 3.25 kB / 0.6216 GB, free: 0.7344 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)