Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/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.FixedResistances.Examples.CheckValve,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="BuildSysPro_BuildSysPro_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.0009865/0.0009864, allocations: 99.86 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.001024/0.001024, allocations: 177.3 kB / 15.94 MB, free: 228 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.422/1.422, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.136/1.136, allocations: 143.3 MB / 434.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004671/0.0004674, allocations: 8 kB / 0.5159 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2325, allocations: 83.42 MB / 0.5973 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.4383/0.6709, allocations: 17.4 MB / 0.6143 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005752/0.6767, allocations: 3.99 MB / 0.6182 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006807/0.6774, allocations: 16.19 kB / 0.6182 GB, free: 33.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008633/0.6783, allocations: 259 kB / 0.6185 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002386/0.6807, allocations: 0.8056 MB / 0.6193 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.6827, allocations: 0.7667 MB / 0.62 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001321/0.684, allocations: 0.8417 MB / 0.6209 GB, free: 31.85 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004893/0.6845, allocations: 356.4 kB / 0.6212 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007291/0.6853, allocations: 473.5 kB / 0.6216 GB, free: 31.51 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003884/0.6857, allocations: 313.6 kB / 0.6219 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.096e-05/0.6857, allocations: 25.19 kB / 0.622 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009137/0.6866, allocations: 403.8 kB / 0.6224 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.6868, allocations: 102.5 kB / 0.6225 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.6869, allocations: 126.7 kB / 0.6226 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005484/0.6874, allocations: 0.5368 MB / 0.6231 GB, free: 31.01 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.6874, allocations: 0 / 0.6231 GB, free: 31.01 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6874, allocations: 0 / 0.6231 GB, free: 31.01 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.6875, allocations: 0 / 0.6231 GB, free: 31.01 MB / 0.4981 GB 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.001355/0.6888, allocations: 0.8199 MB / 0.6239 GB, free: 30.4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.6889, allocations: 12.44 kB / 0.6239 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.677e-05/0.6889, allocations: 72.34 kB / 0.624 GB, free: 30.33 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.341e-05/0.689, allocations: 59.97 kB / 0.624 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005595/0.6896, allocations: 439.9 kB / 0.6245 GB, free: 29.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.6896, allocations: 27.75 kB / 0.6245 GB, free: 29.97 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.878e-05/0.6897, allocations: 37.27 kB / 0.6245 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005797/0.6903, allocations: 313.1 kB / 0.6248 GB, free: 29.83 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.6903, allocations: 0 / 0.6248 GB, free: 29.83 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.6903, allocations: 14.58 kB / 0.6248 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.6904, allocations: 11.53 kB / 0.6248 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005694/0.6909, allocations: 279.3 kB / 0.6251 GB, free: 29.75 MB / 0.4981 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.001881/0.6928, allocations: 1.353 MB / 0.6264 GB, free: 28.83 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005878/0.6934, allocations: 286.8 kB / 0.6267 GB, free: 28.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003728/0.6938, allocations: 0.497 MB / 0.6272 GB, free: 28.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.6938, allocations: 32.91 kB / 0.6272 GB, free: 28.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.382e-06/0.6939, allocations: 0 / 0.6272 GB, free: 28.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25): time 0.001586/0.6954, allocations: 0.5913 MB / 0.6278 GB, free: 27.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.6955, allocations: 58.06 kB / 0.6279 GB, free: 27.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004246/0.6959, allocations: 457.1 kB / 0.6283 GB, free: 27.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.696, allocations: 33.92 kB / 0.6283 GB, free: 27.54 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.6961, allocations: 244 kB / 0.6286 GB, free: 27.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.863e-05/0.6962, allocations: 88.91 kB / 0.6286 GB, free: 27.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.641e-05/0.6962, allocations: 4 kB / 0.6286 GB, free: 27.26 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.6963, allocations: 355.7 kB / 0.629 GB, free: 26.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.6966, allocations: 125.3 kB / 0.6291 GB, free: 26.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/0.6969, allocations: 189.9 kB / 0.6293 GB, free: 26.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/0.6972, allocations: 141.1 kB / 0.6294 GB, free: 26.76 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.6972, allocations: 0 / 0.6294 GB, free: 26.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008829/0.6981, allocations: 433.4 kB / 0.6298 GB, free: 26.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.6982, allocations: 272.5 kB / 0.6301 GB, free: 26.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.6982, allocations: 3.062 kB / 0.6301 GB, free: 26.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000345/0.6986, allocations: 59.33 kB / 0.6301 GB, free: 26.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.6989, allocations: 76.52 kB / 0.6302 GB, free: 26.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003201/0.6992, allocations: 0.564 MB / 0.6308 GB, free: 25.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004924/0.6998, allocations: 70.48 kB / 0.6308 GB, free: 25.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.704e-05/0.6998, allocations: 20.88 kB / 0.6309 GB, free: 25.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/0.6998, allocations: 2.875 kB / 0.6309 GB, free: 25.71 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006428/0.7005, allocations: 317.9 kB / 0.6312 GB, free: 25.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.7005, allocations: 2.406 kB / 0.6312 GB, free: 25.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.527e-06/0.7005, allocations: 6.656 kB / 0.6312 GB, free: 25.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.7009, allocations: 79.38 kB / 0.6312 GB, free: 25.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.7009, allocations: 7.031 kB / 0.6313 GB, free: 25.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004052/0.7013, allocations: 65.58 kB / 0.6313 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.7013, allocations: 9.062 kB / 0.6313 GB, free: 25.59 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002253/0.7016, allocations: 257.6 kB / 0.6316 GB, free: 25.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.6e-05/0.7016, allocations: 43.59 kB / 0.6316 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008813/0.7025, allocations: 436.2 kB / 0.632 GB, free: 25.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.7025, allocations: 6.031 kB / 0.632 GB, free: 25.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.7026, allocations: 3.938 kB / 0.632 GB, free: 25.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.7026, allocations: 3.375 kB / 0.632 GB, free: 25.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.7039, allocations: 0.9679 MB / 0.633 GB, free: 24.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.7039, allocations: 4.062 kB / 0.633 GB, free: 24.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.7042, allocations: 55.84 kB / 0.633 GB, free: 24.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000163/0.7043, allocations: 39.27 kB / 0.6331 GB, free: 24.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.7044, allocations: 12.94 kB / 0.6331 GB, free: 24.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000242/0.7046, allocations: 0.566 MB / 0.6336 GB, free: 24.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.7046, allocations: 2.656 kB / 0.6336 GB, free: 24.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007214/0.7054, allocations: 0.5455 MB / 0.6342 GB, free: 23.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/0.7055, allocations: 164 kB / 0.6343 GB, free: 23.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.35e-05/0.7056, allocations: 10 kB / 0.6343 GB, free: 23.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000349/0.706, allocations: 44.08 kB / 0.6344 GB, free: 23.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.706, allocations: 23.56 kB / 0.6344 GB, free: 23.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.7061, allocations: 12.14 kB / 0.6344 GB, free: 23.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003028/0.7064, allocations: 321.5 kB / 0.6347 GB, free: 23.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7064, allocations: 0 / 0.6347 GB, free: 23.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007921/0.7072, allocations: 251.6 kB / 0.635 GB, free: 23.29 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001393/0.7086, allocations: 1.526 MB / 0.6365 GB, free: 22.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001111/0.7097, allocations: 490.5 kB / 0.6369 GB, free: 21.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.7097, allocations: 0 / 0.6369 GB, free: 21.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003694/0.7101, allocations: 179.9 kB / 0.6371 GB, free: 21.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.7114, allocations: 248.7 kB / 0.6373 GB, free: 21.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.7133, allocations: 1.629 MB / 0.6389 GB, free: 20.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.7136, allocations: 0.8681 MB / 0.6398 GB, free: 19.95 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004446/0.7141, allocations: 121.7 kB / 0.6399 GB, free: 19.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.7143, allocations: 177.3 kB / 0.6401 GB, free: 19.79 MB / 0.4981 GB Notification: Performance of SimCode: time 2.033e-06/0.7143, allocations: 0 / 0.6401 GB, free: 19.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03926/0.7536, allocations: 14.28 MB / 0.654 GB, free: 18.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/0.7538, allocations: 260.4 kB / 0.6543 GB, free: 18.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.206/2.96, allocations: 1.25 kB / 0.6543 GB, free: 18.23 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_CheckValve.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) Environment - environmentSimulation: