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.0009717/0.0009716, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009173/0.0009178, allocations: 168.7 kB / 15.95 MB, free: 204 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.648/1.648, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.269/1.269, allocations: 143.4 MB / 434.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003521, allocations: 8 kB / 0.5161 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2243, allocations: 83.42 MB / 0.5975 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.4538/0.6781, allocations: 19.01 MB / 0.6161 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006136/0.6843, allocations: 4.646 MB / 0.6206 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007036/0.685, allocations: 13.81 kB / 0.6207 GB, free: 31.37 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006873/0.6857, allocations: 195.9 kB / 0.6208 GB, free: 31.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001748/0.6875, allocations: 0.6457 MB / 0.6215 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.6892, allocations: 0.6092 MB / 0.6221 GB, free: 30.6 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001652/0.6909, allocations: 1.545 MB / 0.6236 GB, free: 29.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004966/0.6914, allocations: 345.7 kB / 0.6239 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008446/0.6923, allocations: 0.4905 MB / 0.6244 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005946/0.6929, allocations: 428 kB / 0.6248 GB, free: 29.51 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.731e-05/0.6929, allocations: 19.84 kB / 0.6248 GB, free: 29.51 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.6941, allocations: 0.5226 MB / 0.6253 GB, free: 29.35 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.6942, allocations: 102.3 kB / 0.6254 GB, free: 29.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.6944, allocations: 126.2 kB / 0.6255 GB, free: 29.22 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006907/0.6951, allocations: 0.5841 MB / 0.6261 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.6951, allocations: 0 / 0.6261 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.475e-06/0.6951, allocations: 4 kB / 0.6261 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.6951, allocations: 0 / 0.6261 GB, free: 29.07 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.001396/0.6965, allocations: 0.8282 MB / 0.6269 GB, free: 28.45 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.6966, allocations: 11.22 kB / 0.6269 GB, free: 28.45 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.858e-05/0.6967, allocations: 65.45 kB / 0.627 GB, free: 28.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.6969, allocations: 66.78 kB / 0.6271 GB, free: 28.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008464/0.6977, allocations: 442.2 kB / 0.6275 GB, free: 28.03 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.158e-05/0.6978, allocations: 31.66 kB / 0.6275 GB, free: 28.02 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.271e-05/0.6979, allocations: 31.91 kB / 0.6275 GB, free: 28.01 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007833/0.6986, allocations: 314.2 kB / 0.6278 GB, free: 27.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.6987, allocations: 3.953 kB / 0.6278 GB, free: 27.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.73e-05/0.6987, allocations: 15 kB / 0.6279 GB, free: 27.87 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.6987, allocations: 7.875 kB / 0.6279 GB, free: 27.87 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008091/0.6996, allocations: 278.5 kB / 0.6281 GB, free: 27.8 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.002035/0.7016, allocations: 1.356 MB / 0.6295 GB, free: 26.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004777/0.7021, allocations: 269.2 kB / 0.6297 GB, free: 26.78 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.7024, allocations: 148.6 kB / 0.6299 GB, free: 26.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003901/0.7028, allocations: 0.5034 MB / 0.6304 GB, free: 26.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.7028, allocations: 34.56 kB / 0.6304 GB, free: 26.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.352e-06/0.7028, allocations: 2.531 kB / 0.6304 GB, free: 26.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25): time 0.001561/0.7044, allocations: 0.5872 MB / 0.631 GB, free: 25.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.7044, allocations: 58.5 kB / 0.631 GB, free: 25.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004754/0.7049, allocations: 456.7 kB / 0.6315 GB, free: 25.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.705, allocations: 32.67 kB / 0.6315 GB, free: 25.54 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.7051, allocations: 242.4 kB / 0.6317 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.564e-05/0.7052, allocations: 89.09 kB / 0.6318 GB, free: 25.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.619e-05/0.7052, allocations: 4 kB / 0.6318 GB, free: 25.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.532e-05/0.7053, allocations: 359.5 kB / 0.6321 GB, free: 24.94 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.7055, allocations: 125.7 kB / 0.6323 GB, free: 24.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.7059, allocations: 189.7 kB / 0.6324 GB, free: 24.81 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000284/0.7062, allocations: 139.9 kB / 0.6326 GB, free: 24.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7062, allocations: 0 / 0.6326 GB, free: 24.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008592/0.707, allocations: 436.7 kB / 0.633 GB, free: 24.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.949e-05/0.7071, allocations: 104.9 kB / 0.6331 GB, free: 24.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.7071, allocations: 7.469 kB / 0.6331 GB, free: 24.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003337/0.7075, allocations: 58.61 kB / 0.6332 GB, free: 24.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.7078, allocations: 76.34 kB / 0.6332 GB, free: 24.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003317/0.7082, allocations: 0.5595 MB / 0.6338 GB, free: 23.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004591/0.7086, allocations: 74.23 kB / 0.6338 GB, free: 23.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/0.7087, allocations: 8.656 kB / 0.6339 GB, free: 23.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.874e-06/0.7087, allocations: 9.531 kB / 0.6339 GB, free: 23.89 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006052/0.7093, allocations: 321.7 kB / 0.6342 GB, free: 23.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-06/0.7093, allocations: 3.938 kB / 0.6342 GB, free: 23.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.647e-06/0.7093, allocations: 2.812 kB / 0.6342 GB, free: 23.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.7097, allocations: 88.2 kB / 0.6343 GB, free: 23.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.7097, allocations: 2.75 kB / 0.6343 GB, free: 23.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003731/0.7101, allocations: 69.89 kB / 0.6343 GB, free: 23.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.7101, allocations: 8.469 kB / 0.6343 GB, free: 23.75 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.000201/0.7103, allocations: 252.6 kB / 0.6346 GB, free: 23.53 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.78e-05/0.7104, allocations: 46.69 kB / 0.6346 GB, free: 23.51 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008814/0.7113, allocations: 439.9 kB / 0.635 GB, free: 23.33 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.7113, allocations: 2.875 kB / 0.635 GB, free: 23.33 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.7113, allocations: 4 kB / 0.6351 GB, free: 23.33 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.7113, allocations: 3.141 kB / 0.6351 GB, free: 23.33 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/0.7128, allocations: 0.9721 MB / 0.636 GB, free: 22.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.7128, allocations: 0 / 0.636 GB, free: 22.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.713, allocations: 54.92 kB / 0.6361 GB, free: 22.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001633/0.7132, allocations: 44.12 kB / 0.6361 GB, free: 22.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.7132, allocations: 10.8 kB / 0.6361 GB, free: 22.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002765/0.7135, allocations: 0.5575 MB / 0.6367 GB, free: 22.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.7135, allocations: 3.094 kB / 0.6367 GB, free: 22.19 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007062/0.7142, allocations: 0.5059 MB / 0.6372 GB, free: 21.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.7144, allocations: 165.1 kB / 0.6373 GB, free: 21.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.915e-05/0.7145, allocations: 7.062 kB / 0.6373 GB, free: 21.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003305/0.7148, allocations: 45.08 kB / 0.6374 GB, free: 21.74 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.78e-05/0.7149, allocations: 19.44 kB / 0.6374 GB, free: 21.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.7149, allocations: 12.42 kB / 0.6374 GB, free: 21.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000344/0.7153, allocations: 326.8 kB / 0.6377 GB, free: 21.58 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3e-07/0.7153, allocations: 0 / 0.6377 GB, free: 21.58 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008144/0.7161, allocations: 255.3 kB / 0.6379 GB, free: 21.52 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.001486/0.7176, allocations: 1.199 MB / 0.6391 GB, free: 20.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.7187, allocations: 488.9 kB / 0.6396 GB, free: 20.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.7187, allocations: 0 / 0.6396 GB, free: 20.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003738/0.7191, allocations: 176.2 kB / 0.6397 GB, free: 20.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.7204, allocations: 261.8 kB / 0.64 GB, free: 20.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/0.7246, allocations: 2.693 MB / 0.6426 GB, free: 19.08 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.7249, allocations: 0.8575 MB / 0.6435 GB, free: 18.37 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004861/0.7254, allocations: 113.4 kB / 0.6436 GB, free: 18.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002356/0.7257, allocations: 173.4 kB / 0.6437 GB, free: 18.22 MB / 0.4981 GB Notification: Performance of SimCode: time 8.52e-07/0.7257, allocations: 4 kB / 0.6437 GB, free: 18.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04235/0.768, allocations: 14.58 MB / 0.658 GB, free: 16.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000155/0.7682, allocations: 262.2 kB / 0.6582 GB, free: 16.63 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.494/3.263, allocations: 0 / 0.6582 GB, free: 16.63 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: