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.0007798/0.0007797, allocations: 93.25 kB / 15.7 MB, free: 472 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.0008939/0.0008939, allocations: 174.7 kB / 16.58 MB, free: 6.016 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.225/1.225, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6303/0.6303, allocations: 113.7 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002852/0.0002853, allocations: 12 kB / 493.1 MB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1304, allocations: 77.12 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.01652/0.1469, allocations: 19.01 MB / 0.5755 GB, free: 8.574 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005466/0.1524, allocations: 4.637 MB / 0.58 GB, free: 3.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004055/0.1529, allocations: 15.88 kB / 0.58 GB, free: 3.914 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005768/0.1535, allocations: 190.6 kB / 0.5802 GB, free: 3.727 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001424/0.1549, allocations: 0.6528 MB / 0.5808 GB, free: 3.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.1563, allocations: 0.5987 MB / 0.5814 GB, free: 2.484 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001597/0.158, allocations: 1.559 MB / 0.5829 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004809/0.1584, allocations: 342.8 kB / 0.5833 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007464/0.1592, allocations: 0.494 MB / 0.5837 GB, free: 84 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2406/0.3998, allocations: 413.8 kB / 0.5841 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.4, allocations: 21.19 kB / 0.5841 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.4012, allocations: 0.5231 MB / 0.5847 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.4014, allocations: 105.3 kB / 0.5848 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002301/0.4016, allocations: 122.5 kB / 0.5849 GB, free: 12.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009467/0.4026, allocations: 0.5624 MB / 0.5854 GB, free: 12.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4026, allocations: 1.328 kB / 0.5854 GB, free: 12.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4026, allocations: 0.5938 kB / 0.5854 GB, free: 12.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.4026, allocations: 0.8438 kB / 0.5854 GB, free: 12.33 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.001439/0.4041, allocations: 0.8461 MB / 0.5863 GB, free: 27.78 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.4041, allocations: 9.094 kB / 0.5863 GB, free: 27.78 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.623e-05/0.4042, allocations: 64.91 kB / 0.5863 GB, free: 27.74 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.836e-05/0.4043, allocations: 63.42 kB / 0.5864 GB, free: 27.71 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005908/0.4049, allocations: 428.5 kB / 0.5868 GB, free: 27.46 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.4049, allocations: 26.69 kB / 0.5868 GB, free: 27.46 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.515e-05/0.405, allocations: 34.22 kB / 0.5869 GB, free: 27.46 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006571/0.4057, allocations: 324 kB / 0.5872 GB, free: 27.43 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.4057, allocations: 0.8125 kB / 0.5872 GB, free: 27.43 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.4057, allocations: 10.55 kB / 0.5872 GB, free: 27.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.4057, allocations: 7.844 kB / 0.5872 GB, free: 27.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006391/0.4064, allocations: 283 kB / 0.5874 GB, free: 27.42 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.002137/0.4085, allocations: 1.353 MB / 0.5888 GB, free: 26.75 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005115/0.4091, allocations: 268.8 kB / 0.589 GB, free: 26.72 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003009/0.4094, allocations: 146.2 kB / 0.5892 GB, free: 26.71 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003199/0.4097, allocations: 0.5001 MB / 0.5897 GB, free: 26.14 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.4097, allocations: 36.69 kB / 0.5897 GB, free: 26.1 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/0.4097, allocations: 3.188 kB / 0.5897 GB, free: 26.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.001578/0.4113, allocations: 0.5836 MB / 0.5903 GB, free: 25.93 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.4114, allocations: 58.92 kB / 0.5903 GB, free: 25.86 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005858/0.412, allocations: 462.1 kB / 0.5908 GB, free: 25.74 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.412, allocations: 33.14 kB / 0.5908 GB, free: 25.71 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.4122, allocations: 247.5 kB / 0.591 GB, free: 25.6 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.637e-05/0.4122, allocations: 84.69 kB / 0.5911 GB, free: 25.54 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.742e-05/0.4123, allocations: 3.938 kB / 0.5911 GB, free: 25.54 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.4124, allocations: 358.1 kB / 0.5915 GB, free: 25.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.4127, allocations: 127.2 kB / 0.5916 GB, free: 25.23 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003382/0.4131, allocations: 185.1 kB / 0.5918 GB, free: 25.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.4134, allocations: 140.9 kB / 0.5919 GB, free: 25.18 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4134, allocations: 4.75 kB / 0.5919 GB, free: 25.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009246/0.4143, allocations: 432.1 kB / 0.5923 GB, free: 25.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.328e-05/0.4144, allocations: 110.6 kB / 0.5924 GB, free: 24.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4144, allocations: 0.6875 kB / 0.5924 GB, free: 24.99 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003094/0.4148, allocations: 58.38 kB / 0.5925 GB, free: 24.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/0.4151, allocations: 75.23 kB / 0.5925 GB, free: 24.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003891/0.4155, allocations: 0.5548 MB / 0.5931 GB, free: 24.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004474/0.416, allocations: 68.36 kB / 0.5931 GB, free: 24.44 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/0.416, allocations: 18.28 kB / 0.5932 GB, free: 24.44 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.916e-06/0.416, allocations: 4.125 kB / 0.5932 GB, free: 24.44 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000684/0.4167, allocations: 322 kB / 0.5935 GB, free: 24.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.4167, allocations: 5.5 kB / 0.5935 GB, free: 24.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.608e-06/0.4167, allocations: 1.406 kB / 0.5935 GB, free: 24.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/0.4171, allocations: 85.36 kB / 0.5936 GB, free: 24.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.4171, allocations: 2.141 kB / 0.5936 GB, free: 24.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004011/0.4175, allocations: 72.03 kB / 0.5936 GB, free: 24.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/0.4176, allocations: 16.92 kB / 0.5936 GB, free: 24.4 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 (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.0002369/0.4178, allocations: 246.8 kB / 0.5939 GB, free: 24.21 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.475e-05/0.4179, allocations: 49.16 kB / 0.5939 GB, free: 24.19 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008913/0.4188, allocations: 429.2 kB / 0.5943 GB, free: 24.12 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.4188, allocations: 7.719 kB / 0.5943 GB, free: 24.12 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.4188, allocations: 7.016 kB / 0.5944 GB, free: 24.12 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.4189, allocations: 6.672 kB / 0.5944 GB, free: 24.12 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.4204, allocations: 0.9647 MB / 0.5953 GB, free: 23.76 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.4204, allocations: 1.188 kB / 0.5953 GB, free: 23.76 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.4206, allocations: 55.67 kB / 0.5954 GB, free: 23.76 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001535/0.4208, allocations: 46.39 kB / 0.5954 GB, free: 23.75 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.4208, allocations: 8.422 kB / 0.5954 GB, free: 23.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003256/0.4211, allocations: 0.5519 MB / 0.5959 GB, free: 23.23 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4211, allocations: 1.844 kB / 0.5959 GB, free: 23.23 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008073/0.4219, allocations: 0.5121 MB / 0.5964 GB, free: 23.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.4221, allocations: 163 kB / 0.5966 GB, free: 22.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.166e-05/0.4222, allocations: 7.328 kB / 0.5966 GB, free: 22.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/0.4225, allocations: 40.92 kB / 0.5966 GB, free: 22.89 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.967e-05/0.4226, allocations: 24.28 kB / 0.5967 GB, free: 22.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.4227, allocations: 13.42 kB / 0.5967 GB, free: 22.89 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000388/0.4231, allocations: 325.4 kB / 0.597 GB, free: 22.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4231, allocations: 4 kB / 0.597 GB, free: 22.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008525/0.4239, allocations: 254.1 kB / 0.5972 GB, free: 22.76 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 (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.001586/0.4255, allocations: 1.179 MB / 0.5984 GB, free: 22 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.4267, allocations: 491.3 kB / 0.5989 GB, free: 21.99 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4268, allocations: 0 / 0.5989 GB, free: 21.99 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000421/0.4272, allocations: 178.1 kB / 0.599 GB, free: 21.99 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.4285, allocations: 259 kB / 0.5993 GB, free: 21.97 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004881/0.4334, allocations: 2.705 MB / 0.6019 GB, free: 21.05 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.4339, allocations: 0.8607 MB / 0.6028 GB, free: 20.34 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005291/0.4345, allocations: 114.7 kB / 0.6029 GB, free: 20.32 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.4347, allocations: 171.9 kB / 0.603 GB, free: 20.31 MB / 462.1 MB Notification: Performance of SimCode: time 1.764e-06/0.4347, allocations: 0 / 0.603 GB, free: 20.31 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02994/0.4646, allocations: 14.42 MB / 0.6171 GB, free: 16.04 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/0.4648, allocations: 256.8 kB / 0.6174 GB, free: 15.71 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.959/2.424, allocations: 0 / 0.6174 GB, free: 15.71 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/linux/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) Environment - environmentSimulation: