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.001172/0.001172, allocations: 103.2 kB / 16.27 MB, free: 6.41 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.001308/0.001309, allocations: 184.6 kB / 17.2 MB, free: 5.953 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.197/1.197, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7015/0.7015, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 59.89 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3026, allocations: 77.92 MB / 0.5673 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.01578/0.3184, allocations: 20.72 MB / 0.5875 GB, free: 17.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005094/0.3235, allocations: 4.958 MB / 0.5923 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003591/0.3239, allocations: 18.09 kB / 0.5924 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005749/0.3245, allocations: 267.4 kB / 0.5926 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.3259, allocations: 0.8223 MB / 0.5934 GB, free: 12.81 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.3271, allocations: 0.7049 MB / 0.5941 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001089/0.3282, allocations: 1.379 MB / 0.5955 GB, free: 11.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004585/0.3287, allocations: 451.8 kB / 0.5959 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007044/0.3294, allocations: 0.5603 MB / 0.5964 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004221/0.3298, allocations: 456.4 kB / 0.5969 GB, free: 10.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.108e-05/0.3299, allocations: 37.25 kB / 0.5969 GB, free: 10.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008559/0.3308, allocations: 0.6273 MB / 0.5975 GB, free: 10.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.3309, allocations: 122.7 kB / 0.5976 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002277/0.3311, allocations: 291.8 kB / 0.5979 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008162/0.332, allocations: 0.8302 MB / 0.5987 GB, free: 9.516 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.332, allocations: 0.8125 kB / 0.5987 GB, free: 9.516 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.332, allocations: 0 / 0.5987 GB, free: 9.516 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.332, allocations: 4 kB / 0.5987 GB, free: 9.512 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.001248/0.3332, allocations: 0.9231 MB / 0.5996 GB, free: 8.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.3333, allocations: 14.97 kB / 0.5996 GB, free: 8.746 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.377e-05/0.3333, allocations: 64.22 kB / 0.5997 GB, free: 8.684 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.3335, allocations: 63.19 kB / 0.5998 GB, free: 8.652 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.3339, allocations: 451.2 kB / 0.6002 GB, free: 8.262 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.3339, allocations: 22.59 kB / 0.6002 GB, free: 8.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.334, allocations: 35.91 kB / 0.6003 GB, free: 8.238 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005265/0.3345, allocations: 306.9 kB / 0.6005 GB, free: 8.059 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3345, allocations: 0 / 0.6005 GB, free: 8.059 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.3346, allocations: 15.94 kB / 0.6006 GB, free: 8.047 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.3346, allocations: 6.656 kB / 0.6006 GB, free: 8.047 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005507/0.3351, allocations: 257.7 kB / 0.6008 GB, free: 7.934 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.001672/0.3368, allocations: 1.352 MB / 0.6021 GB, free: 6.777 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004509/0.3373, allocations: 256.3 kB / 0.6024 GB, free: 6.621 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/0.3375, allocations: 136.8 kB / 0.6025 GB, free: 6.484 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002611/0.3378, allocations: 0.4947 MB / 0.603 GB, free: 5.879 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.3378, allocations: 38.56 kB / 0.603 GB, free: 5.832 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.272e-06/0.3378, allocations: 0 / 0.603 GB, free: 5.832 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.001459/0.3393, allocations: 0.5699 MB / 0.6036 GB, free: 5.238 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.3393, allocations: 55.62 kB / 0.6036 GB, free: 5.172 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.3397, allocations: 466.1 kB / 0.6041 GB, free: 4.707 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.3397, allocations: 33.64 kB / 0.6041 GB, free: 4.668 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.3398, allocations: 248.5 kB / 0.6044 GB, free: 4.418 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.3399, allocations: 78.75 kB / 0.6044 GB, free: 4.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.865e-05/0.3399, allocations: 77.59 kB / 0.6045 GB, free: 4.258 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.718e-05/0.34, allocations: 362.8 kB / 0.6048 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.3403, allocations: 120.8 kB / 0.605 GB, free: 3.773 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.3406, allocations: 181 kB / 0.6051 GB, free: 3.578 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005137/0.3411, allocations: 267.7 kB / 0.6054 GB, free: 3.309 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3411, allocations: 0 / 0.6054 GB, free: 3.309 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001342/0.3424, allocations: 494.4 kB / 0.6059 GB, free: 2.816 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.3425, allocations: 10.12 kB / 0.6059 GB, free: 2.809 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3425, allocations: 0 / 0.6059 GB, free: 2.809 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002951/0.3428, allocations: 64.88 kB / 0.6059 GB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.3431, allocations: 63.89 kB / 0.606 GB, free: 2.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002678/0.3434, allocations: 0.564 MB / 0.6065 GB, free: 2.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.3437, allocations: 59.66 kB / 0.6066 GB, free: 2.031 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.3438, allocations: 15.98 kB / 0.6066 GB, free: 2.016 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003195/0.3441, allocations: 243.8 kB / 0.6069 GB, free: 1.773 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002709/0.3444, allocations: 173.7 kB / 0.607 GB, free: 1.586 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004662/0.3449, allocations: 270.3 kB / 0.6073 GB, free: 1.316 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.3449, allocations: 4 kB / 0.6073 GB, free: 1.312 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0006485/0.3455, allocations: 370.3 kB / 0.6076 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.861e-06/0.3455, allocations: 4 kB / 0.6076 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-06/0.3455, allocations: 0 / 0.6076 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-06/0.3455, allocations: 7.938 kB / 0.6076 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/0.3459, allocations: 83.88 kB / 0.6077 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.3459, allocations: 0 / 0.6077 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003636/0.3463, allocations: 47.8 kB / 0.6078 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.3463, allocations: 12 kB / 0.6078 GB, free: 0.793 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 7.744e-05/0.3464, allocations: 200.2 kB / 0.608 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.825e-05/0.3464, allocations: 47.34 kB / 0.608 GB, free: 0.543 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007468/0.3472, allocations: 431.7 kB / 0.6084 GB, free: 108 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.3472, allocations: 4 kB / 0.6084 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3472, allocations: 0 / 0.6084 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3472, allocations: 4 kB / 0.6084 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.3485, allocations: 0.944 MB / 0.6094 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.3485, allocations: 8.109 kB / 0.6094 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.3488, allocations: 47.91 kB / 0.6094 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001433/0.3489, allocations: 40.89 kB / 0.6094 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.349, allocations: 8 kB / 0.6095 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003103/0.3493, allocations: 0.5601 MB / 0.61 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3493, allocations: 4.062 kB / 0.61 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007262/0.35, allocations: 487 kB / 0.6105 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.3502, allocations: 160.4 kB / 0.6106 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.957e-05/0.3502, allocations: 4 kB / 0.6106 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003134/0.3506, allocations: 27.91 kB / 0.6107 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.3506, allocations: 27.91 kB / 0.6107 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.3507, allocations: 15.98 kB / 0.6107 GB, free: 13.62 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002975/0.351, allocations: 318.9 kB / 0.611 GB, free: 13.32 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.351, allocations: 0 / 0.611 GB, free: 13.32 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006266/0.3516, allocations: 251.5 kB / 0.6112 GB, free: 13.07 MB / 462.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.001344/0.3529, allocations: 1.191 MB / 0.6124 GB, free: 11.85 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.354, allocations: 483 kB / 0.6129 GB, free: 11.38 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3541, allocations: 0 / 0.6129 GB, free: 11.38 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003658/0.3544, allocations: 167.8 kB / 0.613 GB, free: 11.21 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009809/0.3554, allocations: 217 kB / 0.6132 GB, free: 11.02 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00564/0.3611, allocations: 4.076 MB / 0.6172 GB, free: 6.82 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.3615, allocations: 0.8587 MB / 0.6181 GB, free: 5.93 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003702/0.3618, allocations: 122.2 kB / 0.6182 GB, free: 5.812 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.362, allocations: 175.4 kB / 0.6183 GB, free: 5.645 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.362, allocations: 0 / 0.6183 GB, free: 5.645 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.812/2.174, allocations: 14.87 MB / 0.6329 GB, free: 7.09 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.31/19.49, allocations: 3.781 kB / 0.6329 GB, free: 7.086 MB / 478.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)