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.000839/0.000839, allocations: 98.89 kB / 16.02 MB, free: 80 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.0008651/0.000865, allocations: 178.6 kB / 16.92 MB, free: 6.895 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.186/1.186, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5914/0.5914, allocations: 115.5 MB / 407.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002564/0.0002564, allocations: 8 kB / 495.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1083, allocations: 77.53 MB / 0.56 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.01563/0.124, allocations: 20.03 MB / 0.5796 GB, free: 4.844 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2109/0.3349, allocations: 4.91 MB / 0.5844 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006892/0.3356, allocations: 16.22 kB / 0.5844 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006224/0.3362, allocations: 221.9 kB / 0.5846 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001658/0.3379, allocations: 0.7486 MB / 0.5854 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.3394, allocations: 0.645 MB / 0.586 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001715/0.3411, allocations: 1.818 MB / 0.5878 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004655/0.3416, allocations: 372.9 kB / 0.5881 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007142/0.3423, allocations: 0.5152 MB / 0.5886 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000529/0.3428, allocations: 451.2 kB / 0.589 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.915e-05/0.3429, allocations: 20.28 kB / 0.5891 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009901/0.3439, allocations: 0.5982 MB / 0.5897 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.344, allocations: 107.6 kB / 0.5898 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002444/0.3443, allocations: 296 kB / 0.59 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008973/0.3452, allocations: 0.8045 MB / 0.5908 GB, free: 10.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.3452, allocations: 2.812 kB / 0.5908 GB, free: 10.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3452, allocations: 0 / 0.5908 GB, free: 10.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.964e-06/0.3452, allocations: 1.031 kB / 0.5908 GB, free: 10.25 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.001214/0.3464, allocations: 0.8354 MB / 0.5916 GB, free: 25.66 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.3465, allocations: 9.125 kB / 0.5917 GB, free: 25.66 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.195e-05/0.3465, allocations: 73.77 kB / 0.5917 GB, free: 25.62 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.747e-05/0.3466, allocations: 64 kB / 0.5918 GB, free: 25.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004657/0.3471, allocations: 443.2 kB / 0.5922 GB, free: 25.32 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.3471, allocations: 30.69 kB / 0.5922 GB, free: 25.31 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.395e-05/0.3472, allocations: 34.53 kB / 0.5923 GB, free: 25.31 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005919/0.3478, allocations: 324.1 kB / 0.5926 GB, free: 25.27 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.3478, allocations: 0 / 0.5926 GB, free: 25.27 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.3478, allocations: 12.72 kB / 0.5926 GB, free: 25.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.3479, allocations: 7.406 kB / 0.5926 GB, free: 25.27 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006084/0.3485, allocations: 280 kB / 0.5929 GB, free: 25.27 MB / 462.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.001776/0.3502, allocations: 1.351 MB / 0.5942 GB, free: 24.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004598/0.3507, allocations: 270.9 kB / 0.5944 GB, free: 24.55 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/0.351, allocations: 149.7 kB / 0.5946 GB, free: 24.55 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002585/0.3513, allocations: 0.4976 MB / 0.5951 GB, free: 23.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.3513, allocations: 35.41 kB / 0.5951 GB, free: 23.94 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 1.242e-06/0.3513, allocations: 0 / 0.5951 GB, free: 23.94 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.001583/0.3529, allocations: 0.5852 MB / 0.5957 GB, free: 23.77 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.943e-05/0.3529, allocations: 64.69 kB / 0.5957 GB, free: 23.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004552/0.3534, allocations: 469.3 kB / 0.5962 GB, free: 23.58 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.3534, allocations: 33.27 kB / 0.5962 GB, free: 23.55 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.3536, allocations: 246.5 kB / 0.5965 GB, free: 23.43 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.983e-05/0.3536, allocations: 86.61 kB / 0.5965 GB, free: 23.38 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/0.3537, allocations: 36.66 kB / 0.5966 GB, free: 23.36 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.3538, allocations: 358.8 kB / 0.5969 GB, free: 23.05 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002972/0.3541, allocations: 128.1 kB / 0.597 GB, free: 23.05 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.3545, allocations: 191.3 kB / 0.5972 GB, free: 23 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006056/0.3551, allocations: 289.2 kB / 0.5975 GB, free: 22.96 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3551, allocations: 1.266 kB / 0.5975 GB, free: 22.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001472/0.3566, allocations: 0.5067 MB / 0.598 GB, free: 22.88 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.246e-05/0.3566, allocations: 108 kB / 0.5981 GB, free: 22.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3566, allocations: 5.203 kB / 0.5981 GB, free: 22.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003166/0.357, allocations: 59.14 kB / 0.5982 GB, free: 22.76 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000341/0.3573, allocations: 73.19 kB / 0.5982 GB, free: 22.76 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003763/0.3577, allocations: 0.5672 MB / 0.5988 GB, free: 22.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000442/0.3581, allocations: 68.66 kB / 0.5988 GB, free: 22.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.3582, allocations: 18.33 kB / 0.5989 GB, free: 22.21 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.061e-06/0.3582, allocations: 3.438 kB / 0.5989 GB, free: 22.21 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007148/0.3589, allocations: 319.7 kB / 0.5992 GB, free: 22.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-06/0.3589, allocations: 0.75 kB / 0.5992 GB, free: 22.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.859e-06/0.3589, allocations: 7.344 kB / 0.5992 GB, free: 22.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003667/0.3593, allocations: 86.31 kB / 0.5993 GB, free: 22.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.3593, allocations: 3.594 kB / 0.5993 GB, free: 22.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003887/0.3597, allocations: 65 kB / 0.5993 GB, free: 22.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.3598, allocations: 14.27 kB / 0.5993 GB, free: 22.18 MB / 462.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 0.0002031/0.36, allocations: 244.9 kB / 0.5996 GB, free: 21.99 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.891e-05/0.36, allocations: 50.78 kB / 0.5996 GB, free: 21.96 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000927/0.361, allocations: 443.8 kB / 0.6 GB, free: 21.89 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.361, allocations: 3.031 kB / 0.6 GB, free: 21.89 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.361, allocations: 1.406 kB / 0.6 GB, free: 21.89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.361, allocations: 1.359 kB / 0.6 GB, free: 21.89 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.3625, allocations: 0.9701 MB / 0.601 GB, free: 21.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.3625, allocations: 1.469 kB / 0.601 GB, free: 21.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/0.3627, allocations: 55.84 kB / 0.601 GB, free: 21.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001491/0.3629, allocations: 48.48 kB / 0.6011 GB, free: 21.52 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.3629, allocations: 12.66 kB / 0.6011 GB, free: 21.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002949/0.3632, allocations: 0.5576 MB / 0.6017 GB, free: 20.99 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3632, allocations: 1.938 kB / 0.6017 GB, free: 20.99 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000815/0.3641, allocations: 0.5083 MB / 0.6021 GB, free: 20.78 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.3642, allocations: 156 kB / 0.6023 GB, free: 20.66 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.481e-05/0.3643, allocations: 7.391 kB / 0.6023 GB, free: 20.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003468/0.3646, allocations: 46.08 kB / 0.6023 GB, free: 20.65 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.903e-05/0.3647, allocations: 24.95 kB / 0.6024 GB, free: 20.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.3647, allocations: 14.77 kB / 0.6024 GB, free: 20.65 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003078/0.365, allocations: 319.3 kB / 0.6027 GB, free: 20.56 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.365, allocations: 0 / 0.6027 GB, free: 20.56 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007264/0.3658, allocations: 258.1 kB / 0.6029 GB, free: 20.52 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.001264/0.367, allocations: 1.191 MB / 0.6041 GB, free: 19.74 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.3681, allocations: 498.3 kB / 0.6046 GB, free: 19.72 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3681, allocations: 1.344 kB / 0.6046 GB, free: 19.72 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003673/0.3685, allocations: 188.2 kB / 0.6048 GB, free: 19.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.3699, allocations: 264.7 kB / 0.605 GB, free: 19.68 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005774/0.3757, allocations: 4.304 MB / 0.6092 GB, free: 17.76 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.376, allocations: 0.8512 MB / 0.61 GB, free: 17.05 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003775/0.3764, allocations: 122.4 kB / 0.6102 GB, free: 17.02 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.3766, allocations: 173.8 kB / 0.6103 GB, free: 17.02 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3766, allocations: 0 / 0.6103 GB, free: 17.02 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8325/1.209, allocations: 14.41 MB / 0.6244 GB, free: 11.2 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002282/1.209, allocations: 271.3 kB / 0.6247 GB, free: 10.84 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.432/3.641, allocations: 0 / 0.6247 GB, free: 10.84 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)