Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 117.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8136/0.8136, allocations: 129.2 MB / 432.5 MB, free: 13.17 MB / 350.1 MB " [Timeout remaining time 179] 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.Storage.Examples.ExpansionVessel,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 75.83 kB / 0.5987 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3893, allocations: 83.44 MB / 0.6802 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01398/0.4033, allocations: 14.56 MB / 0.6944 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005555/0.4089, allocations: 3.664 MB / 0.698 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005611/0.4094, allocations: 23.97 kB / 0.698 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006367/0.41, allocations: 205 kB / 0.6982 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.4115, allocations: 0.6118 MB / 0.6988 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009302/0.4125, allocations: 402.9 kB / 0.6992 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001341/0.4138, allocations: 1.09 MB / 0.7002 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004033/0.4142, allocations: 262.8 kB / 0.7005 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.4153, allocations: 438.6 kB / 0.7009 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000422/0.4158, allocations: 325.3 kB / 0.7012 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.275e-05/0.4158, allocations: 32.5 kB / 0.7012 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000589/0.4164, allocations: 263.4 kB / 0.7015 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.4165, allocations: 104.2 kB / 0.7016 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002307/0.4167, allocations: 212.8 kB / 0.7018 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008246/0.4176, allocations: 0.5927 MB / 0.7024 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.4176, allocations: 0 / 0.7024 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4176, allocations: 0 / 0.7024 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.4176, allocations: 1.156 kB / 0.7024 GB, free: 4.363 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001233/0.4188, allocations: 0.7572 MB / 0.7031 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.4189, allocations: 9.656 kB / 0.7031 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.609e-05/0.4189, allocations: 68.08 kB / 0.7032 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.4191, allocations: 52.61 kB / 0.7032 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007637/0.4199, allocations: 477.2 kB / 0.7037 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.4199, allocations: 19.62 kB / 0.7037 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/0.42, allocations: 26.34 kB / 0.7037 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005543/0.4205, allocations: 308.7 kB / 0.704 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.4205, allocations: 3.938 kB / 0.704 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.4206, allocations: 8.125 kB / 0.704 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.4206, allocations: 10.88 kB / 0.704 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004502/0.421, allocations: 194.4 kB / 0.7042 GB, free: 2.852 MB / 0.5137 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.001888/0.4229, allocations: 1.488 MB / 0.7057 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.4233, allocations: 146.2 kB / 0.7058 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.4235, allocations: 66.41 kB / 0.7059 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.4237, allocations: 100.8 kB / 0.706 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000284/0.4239, allocations: 124.8 kB / 0.7061 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.4239, allocations: 0 / 0.7061 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006169/0.4246, allocations: 237.5 kB / 0.7063 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.4246, allocations: 53.41 kB / 0.7064 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003787/0.425, allocations: 351.2 kB / 0.7067 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.425, allocations: 32.59 kB / 0.7067 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.4252, allocations: 217 kB / 0.7069 GB, free: 500 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.602e-05/0.4252, allocations: 57.83 kB / 0.707 GB, free: 448 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.494e-05/0.4253, allocations: 54.08 kB / 0.7071 GB, free: 408 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.4255, allocations: 337.6 kB / 0.7074 GB, free: 68 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.4257, allocations: 72.56 kB / 0.7074 GB, free: 32 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/0.4259, allocations: 148.7 kB / 0.7076 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004394/0.4264, allocations: 250 kB / 0.7078 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.4264, allocations: 1.344 kB / 0.7078 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005825/0.427, allocations: 308.6 kB / 0.7081 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/0.427, allocations: 40.23 kB / 0.7082 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.427, allocations: 7.156 kB / 0.7082 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.427, allocations: 3.812 kB / 0.7082 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.4272, allocations: 53.41 kB / 0.7082 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.4273, allocations: 7.812 kB / 0.7082 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.4275, allocations: 32.17 kB / 0.7083 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.4275, allocations: 13.34 kB / 0.7083 GB, free: 15.43 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001721/0.4277, allocations: 166.3 kB / 0.7084 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.4278, allocations: 36.31 kB / 0.7085 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004474/0.4282, allocations: 187.6 kB / 0.7086 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.4282, allocations: 1.469 kB / 0.7086 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4282, allocations: 0 / 0.7086 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005028/0.4287, allocations: 488.3 kB / 0.7091 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004445/0.4292, allocations: 358.5 kB / 0.7094 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.4292, allocations: 4 kB / 0.7095 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.4293, allocations: 31.69 kB / 0.7095 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.4293, allocations: 5.344 kB / 0.7095 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.4293, allocations: 9.5 kB / 0.7095 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4293, allocations: 0 / 0.7095 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4293, allocations: 1.312 kB / 0.7095 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006073/0.43, allocations: 290.6 kB / 0.7098 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.4301, allocations: 134.2 kB / 0.7099 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.554e-05/0.4302, allocations: 1.438 kB / 0.7099 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.4304, allocations: 15.61 kB / 0.7099 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.796e-05/0.4304, allocations: 15.06 kB / 0.7099 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.4305, allocations: 10.16 kB / 0.7099 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002634/0.4307, allocations: 246 kB / 0.7102 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.4307, allocations: 4 kB / 0.7102 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004445/0.4312, allocations: 126.8 kB / 0.7103 GB, free: 13.78 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00112/0.4323, allocations: 0.918 MB / 0.7112 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004786/0.4328, allocations: 218.6 kB / 0.7114 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4328, allocations: 0 / 0.7114 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.433, allocations: 73.39 kB / 0.7115 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008775/0.4338, allocations: 218.1 kB / 0.7117 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004261/0.4381, allocations: 3.06 MB / 0.7147 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.4385, allocations: 0.7918 MB / 0.7154 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002587/0.4388, allocations: 67.12 kB / 0.7155 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.4389, allocations: 123.4 kB / 0.7156 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.4389, allocations: 0 / 0.7156 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03629/0.4752, allocations: 10.23 MB / 0.7256 GB, free: 14.77 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.272/8.747, allocations: 3.844 kB / 0.7256 GB, free: 14.77 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.004768113140017] Failed to read output from testmodel.py, exit status != 0: 8.820564026013017 8.842214992 8.420328169 Calling exit ...