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.001217/0.001218, allocations: 102.8 kB / 16.4 MB, free: 6.477 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.001205/0.001205, allocations: 195.8 kB / 17.34 MB, free: 5.75 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7468/0.7468, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 66.41 kB / 0.5572 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1521, allocations: 76.18 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.02054/0.1726, allocations: 20.71 MB / 0.6518 GB, free: 128 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007168/0.1798, allocations: 4.956 MB / 0.6566 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008975/0.1808, allocations: 19.88 kB / 0.6567 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008942/0.1817, allocations: 274 kB / 0.6569 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002634/0.1844, allocations: 0.8183 MB / 0.6577 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.1864, allocations: 0.7023 MB / 0.6584 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001931/0.1883, allocations: 1.391 MB / 0.6598 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007928/0.1891, allocations: 459.2 kB / 0.6602 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.1903, allocations: 0.5719 MB / 0.6608 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007371/0.191, allocations: 454.1 kB / 0.6612 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.663e-05/0.1911, allocations: 36 kB / 0.6612 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.1924, allocations: 0.6316 MB / 0.6618 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.1926, allocations: 131.4 kB / 0.662 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003338/0.1929, allocations: 286.5 kB / 0.6622 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.1942, allocations: 0.8381 MB / 0.6631 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1943, allocations: 4 kB / 0.6631 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.193e-06/0.1943, allocations: 0 / 0.6631 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.1943, allocations: 4 kB / 0.6631 GB, free: 4.555 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.001485/0.1958, allocations: 0.9265 MB / 0.664 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1958, allocations: 12.03 kB / 0.664 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.516e-05/0.1959, allocations: 62.72 kB / 0.664 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.196, allocations: 64.19 kB / 0.6641 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006456/0.1967, allocations: 479.1 kB / 0.6646 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.1967, allocations: 28.66 kB / 0.6646 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-05/0.1968, allocations: 32 kB / 0.6646 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005916/0.1974, allocations: 306 kB / 0.6649 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1974, allocations: 7.922 kB / 0.6649 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/0.1974, allocations: 12 kB / 0.6649 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.1975, allocations: 8 kB / 0.6649 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005616/0.198, allocations: 258.4 kB / 0.6652 GB, free: 2.281 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.002082/0.2001, allocations: 1.341 MB / 0.6665 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.2006, allocations: 258.4 kB / 0.6667 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.2009, allocations: 136.3 kB / 0.6669 GB, free: 436 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004301/0.2013, allocations: 0.4947 MB / 0.6674 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.2014, allocations: 34.56 kB / 0.6674 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 2.164e-06/0.2014, allocations: 4 kB / 0.6674 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.001737/0.2031, allocations: 0.5611 MB / 0.6679 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.2032, allocations: 51.41 kB / 0.668 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000537/0.2037, allocations: 462.2 kB / 0.6684 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.2038, allocations: 33.7 kB / 0.6685 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.204, allocations: 248.4 kB / 0.6687 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.346e-05/0.2041, allocations: 82.75 kB / 0.6688 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.2042, allocations: 81.58 kB / 0.6689 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.2043, allocations: 358.8 kB / 0.6692 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/0.2046, allocations: 124.8 kB / 0.6693 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/0.205, allocations: 176.8 kB / 0.6695 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000568/0.2056, allocations: 272.8 kB / 0.6697 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2056, allocations: 4 kB / 0.6698 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001506/0.2071, allocations: 491 kB / 0.6702 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.2071, allocations: 4 kB / 0.6702 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.2071, allocations: 0 / 0.6702 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003733/0.2075, allocations: 68.72 kB / 0.6703 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/0.2079, allocations: 67.95 kB / 0.6704 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004188/0.2083, allocations: 0.5601 MB / 0.6709 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004503/0.2088, allocations: 59.81 kB / 0.671 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/0.2088, allocations: 11.98 kB / 0.671 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004153/0.2093, allocations: 244 kB / 0.6712 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000329/0.2096, allocations: 177.4 kB / 0.6714 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005414/0.2101, allocations: 264.2 kB / 0.6716 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.521e-06/0.2102, allocations: 4 kB / 0.6716 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007717/0.2109, allocations: 374 kB / 0.672 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.211, allocations: 4 kB / 0.672 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.706e-06/0.211, allocations: 3.938 kB / 0.672 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/0.211, allocations: 7.938 kB / 0.672 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/0.2114, allocations: 83.88 kB / 0.6721 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.2114, allocations: 0 / 0.6721 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004213/0.2118, allocations: 47.8 kB / 0.6721 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.2118, allocations: 15.98 kB / 0.6721 GB, free: 10.73 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.0001723/0.212, allocations: 200.1 kB / 0.6723 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.132e-05/0.2121, allocations: 43.44 kB / 0.6724 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009193/0.213, allocations: 423.7 kB / 0.6728 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.988e-06/0.2131, allocations: 4 kB / 0.6728 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2131, allocations: 0 / 0.6728 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.2131, allocations: 3.984 kB / 0.6728 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/0.2146, allocations: 0.9457 MB / 0.6737 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.2146, allocations: 0 / 0.6737 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.2148, allocations: 56.03 kB / 0.6738 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001768/0.215, allocations: 36.83 kB / 0.6738 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.215, allocations: 8 kB / 0.6738 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003501/0.2154, allocations: 0.5641 MB / 0.6744 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.2154, allocations: 3.938 kB / 0.6744 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008081/0.2162, allocations: 495 kB / 0.6748 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/0.2164, allocations: 148.5 kB / 0.675 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.795e-05/0.2165, allocations: 7.984 kB / 0.675 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003301/0.2168, allocations: 27.91 kB / 0.675 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/0.2169, allocations: 27.91 kB / 0.675 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.217, allocations: 12 kB / 0.675 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003407/0.2173, allocations: 318.9 kB / 0.6753 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2173, allocations: 4 kB / 0.6754 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007668/0.2181, allocations: 259.5 kB / 0.6756 GB, free: 7.02 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.001521/0.2196, allocations: 1.182 MB / 0.6768 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001205/0.2208, allocations: 462.2 kB / 0.6772 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.2209, allocations: 4 kB / 0.6772 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004001/0.2213, allocations: 169 kB / 0.6774 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.2224, allocations: 224.2 kB / 0.6776 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006581/0.229, allocations: 3.986 MB / 0.6815 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.2294, allocations: 0.8626 MB / 0.6823 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004417/0.2299, allocations: 112.1 kB / 0.6824 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/0.2301, allocations: 171.4 kB / 0.6826 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of SimCode: time 1.283e-06/0.2302, allocations: 4 kB / 0.6826 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04296/0.2731, allocations: 15.27 MB / 0.6975 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/11.95, allocations: 10.41 kB / 0.6975 GB, free: 0.6914 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)