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.001483/0.001483, allocations: 104.6 kB / 16.4 MB, free: 6.492 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.001629/0.001629, allocations: 189.2 kB / 17.34 MB, free: 5.742 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7178/0.7178, allocations: 115.3 MB / 406.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 68.41 kB / 0.5572 GB, free: 32.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1493, allocations: 76.17 MB / 0.6316 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.01961/0.169, allocations: 20.73 MB / 0.6518 GB, free: 100 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006484/0.1755, allocations: 4.939 MB / 0.6566 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005753/0.1761, allocations: 19.88 kB / 0.6567 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007388/0.1769, allocations: 274 kB / 0.6569 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001762/0.1787, allocations: 0.8199 MB / 0.6577 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.1804, allocations: 0.7108 MB / 0.6584 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001568/0.182, allocations: 1.395 MB / 0.6598 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005873/0.1826, allocations: 443.2 kB / 0.6602 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008616/0.1834, allocations: 0.5837 MB / 0.6608 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000552/0.184, allocations: 442.1 kB / 0.6612 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.231e-05/0.1841, allocations: 36 kB / 0.6612 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001/0.1851, allocations: 0.6394 MB / 0.6618 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.1852, allocations: 123.5 kB / 0.662 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002314/0.1854, allocations: 286.5 kB / 0.6622 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009301/0.1864, allocations: 0.8459 MB / 0.6631 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1864, allocations: 0 / 0.6631 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.512e-06/0.1864, allocations: 0 / 0.6631 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.1864, allocations: 0 / 0.6631 GB, free: 4.543 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.001629/0.188, allocations: 0.9304 MB / 0.664 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.1881, allocations: 8.031 kB / 0.664 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.434e-05/0.1882, allocations: 70.72 kB / 0.6641 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.1883, allocations: 64.19 kB / 0.6641 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007439/0.1891, allocations: 483 kB / 0.6646 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.1891, allocations: 24.66 kB / 0.6646 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.341e-05/0.1892, allocations: 32 kB / 0.6646 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005937/0.1898, allocations: 310 kB / 0.6649 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1898, allocations: 0 / 0.6649 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.1898, allocations: 16 kB / 0.6649 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1898, allocations: 8 kB / 0.6649 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000594/0.1904, allocations: 266.4 kB / 0.6652 GB, free: 2.254 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.001992/0.1924, allocations: 1.329 MB / 0.6665 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004924/0.1929, allocations: 263 kB / 0.6667 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/0.1932, allocations: 140.3 kB / 0.6669 GB, free: 416 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003935/0.1936, allocations: 0.4986 MB / 0.6674 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.1937, allocations: 34.59 kB / 0.6674 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 1.673e-06/0.1937, allocations: 0 / 0.6674 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.001677/0.1954, allocations: 0.5611 MB / 0.6679 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.1954, allocations: 55.41 kB / 0.668 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004465/0.1958, allocations: 458.2 kB / 0.6684 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.1959, allocations: 37.7 kB / 0.6685 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.1961, allocations: 240.4 kB / 0.6687 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.011e-05/0.1961, allocations: 94.73 kB / 0.6688 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.1963, allocations: 77.59 kB / 0.6689 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1964, allocations: 358.8 kB / 0.6692 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003055/0.1967, allocations: 116.8 kB / 0.6693 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003618/0.1971, allocations: 192.7 kB / 0.6695 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000583/0.1977, allocations: 265.2 kB / 0.6698 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1977, allocations: 0 / 0.6698 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00148/0.1992, allocations: 493.5 kB / 0.6702 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1992, allocations: 8 kB / 0.6702 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1992, allocations: 0 / 0.6702 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003347/0.1995, allocations: 52.81 kB / 0.6703 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/0.1999, allocations: 71.88 kB / 0.6704 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003877/0.2003, allocations: 0.5641 MB / 0.6709 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003954/0.2007, allocations: 47.64 kB / 0.671 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/0.2007, allocations: 16 kB / 0.671 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003883/0.2011, allocations: 240.1 kB / 0.6712 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003284/0.2015, allocations: 189.4 kB / 0.6714 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005475/0.202, allocations: 261.1 kB / 0.6716 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/0.202, allocations: 0 / 0.6716 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007648/0.2028, allocations: 372.8 kB / 0.672 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.2028, allocations: 9.406 kB / 0.672 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-06/0.2028, allocations: 0 / 0.672 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-06/0.2028, allocations: 7.938 kB / 0.672 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003698/0.2032, allocations: 75.88 kB / 0.6721 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.2032, allocations: 4 kB / 0.6721 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/0.2036, allocations: 59.73 kB / 0.6721 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.2037, allocations: 8 kB / 0.6721 GB, free: 10.72 MB / 0.5137 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 (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.0001272/0.2038, allocations: 201.5 kB / 0.6723 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.022e-05/0.2039, allocations: 47.44 kB / 0.6724 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009123/0.2048, allocations: 423.9 kB / 0.6728 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.2048, allocations: 11.98 kB / 0.6728 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.2048, allocations: 0 / 0.6728 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2048, allocations: 0 / 0.6728 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.2062, allocations: 0.9496 MB / 0.6737 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.2063, allocations: 4 kB / 0.6737 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.2065, allocations: 43.91 kB / 0.6738 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001584/0.2067, allocations: 44.83 kB / 0.6738 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.2067, allocations: 8 kB / 0.6738 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000317/0.207, allocations: 0.5641 MB / 0.6744 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.207, allocations: 4.031 kB / 0.6744 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007601/0.2078, allocations: 495 kB / 0.6748 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.208, allocations: 144.5 kB / 0.675 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.277e-05/0.208, allocations: 8 kB / 0.675 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003182/0.2083, allocations: 31.89 kB / 0.675 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.2084, allocations: 15.98 kB / 0.675 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.2084, allocations: 19.98 kB / 0.6751 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003201/0.2088, allocations: 322.9 kB / 0.6754 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2088, allocations: 0 / 0.6754 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006673/0.2094, allocations: 251.5 kB / 0.6756 GB, free: 7.008 MB / 0.5137 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 (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.001385/0.2108, allocations: 1.182 MB / 0.6768 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001114/0.212, allocations: 465.1 kB / 0.6772 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.212, allocations: 0 / 0.6772 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003826/0.2124, allocations: 172.2 kB / 0.6774 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.2134, allocations: 218.9 kB / 0.6776 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005809/0.2192, allocations: 3.99 MB / 0.6815 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.2196, allocations: 0.8626 MB / 0.6823 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003746/0.22, allocations: 120.1 kB / 0.6824 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.2202, allocations: 179.3 kB / 0.6826 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.2202, allocations: 0 / 0.6826 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03838/0.2586, allocations: 15.26 MB / 0.6975 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/11.93, allocations: 1.219 kB / 0.6975 GB, free: 0.6836 MB / 0.5294 GB (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)