Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002199/0.002199, allocations: 218.1 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8251/0.8251, allocations: 134 MB / 446.4 MB, free: 10.18 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 61.81 kB / 0.6185 GB, free: 7.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1767, allocations: 85.91 MB / 0.7024 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01898/0.1957, allocations: 14.78 MB / 0.7169 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005994/0.2017, allocations: 3.676 MB / 0.7205 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007048/0.2024, allocations: 23.81 kB / 0.7205 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008305/0.2033, allocations: 210.7 kB / 0.7207 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.2051, allocations: 0.6298 MB / 0.7213 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.2063, allocations: 415.1 kB / 0.7217 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001995/0.2082, allocations: 1.122 MB / 0.7228 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006531/0.2089, allocations: 256.9 kB / 0.723 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.2104, allocations: 417.3 kB / 0.7234 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007934/0.2112, allocations: 322.6 kB / 0.7237 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.2113, allocations: 36 kB / 0.7238 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008839/0.2122, allocations: 295.4 kB / 0.724 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.2123, allocations: 95.61 kB / 0.7241 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003697/0.2127, allocations: 218.9 kB / 0.7243 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.2139, allocations: 0.615 MB / 0.7249 GB, free: 10.21 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2139, allocations: 0 / 0.7249 GB, free: 10.21 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2139, allocations: 0 / 0.7249 GB, free: 10.21 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.84e-05/0.2139, allocations: 0 / 0.7249 GB, free: 10.21 MB / 0.545 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.001601/0.2155, allocations: 0.6932 MB / 0.7256 GB, free: 9.473 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.2156, allocations: 8.031 kB / 0.7256 GB, free: 9.465 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001198/0.2157, allocations: 62.72 kB / 0.7257 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003096/0.216, allocations: 52.66 kB / 0.7257 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.2171, allocations: 407.8 kB / 0.7261 GB, free: 8.922 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/0.2171, allocations: 20.44 kB / 0.7262 GB, free: 8.902 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.632e-05/0.2172, allocations: 28 kB / 0.7262 GB, free: 8.875 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007138/0.2179, allocations: 313.2 kB / 0.7265 GB, free: 8.547 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.2179, allocations: 4 kB / 0.7265 GB, free: 8.543 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.218, allocations: 8 kB / 0.7265 GB, free: 8.535 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/0.218, allocations: 8 kB / 0.7265 GB, free: 8.527 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005098/0.2185, allocations: 189.8 kB / 0.7267 GB, free: 8.344 MB / 0.545 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.002117/0.2206, allocations: 1.43 MB / 0.7281 GB, free: 6.797 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004443/0.2211, allocations: 146.6 kB / 0.7282 GB, free: 6.645 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.2212, allocations: 64.81 kB / 0.7283 GB, free: 6.578 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.2213, allocations: 12 kB / 0.7283 GB, free: 6.566 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003158/0.2217, allocations: 135.1 kB / 0.7284 GB, free: 6.422 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.2217, allocations: 0 / 0.7284 GB, free: 6.422 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0006771/0.2223, allocations: 235.5 kB / 0.7286 GB, free: 6.188 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.2224, allocations: 55.41 kB / 0.7287 GB, free: 6.121 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004378/0.2228, allocations: 361.6 kB / 0.729 GB, free: 5.758 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.2229, allocations: 33.7 kB / 0.7291 GB, free: 5.719 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.2231, allocations: 220.1 kB / 0.7293 GB, free: 5.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.561e-05/0.2231, allocations: 55.53 kB / 0.7293 GB, free: 5.445 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.416e-05/0.2232, allocations: 45.7 kB / 0.7294 GB, free: 5.395 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.2234, allocations: 346.8 kB / 0.7297 GB, free: 5.047 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.2236, allocations: 71.95 kB / 0.7298 GB, free: 4.977 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.2239, allocations: 141.4 kB / 0.7299 GB, free: 4.805 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004562/0.2243, allocations: 251.1 kB / 0.7302 GB, free: 4.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.2243, allocations: 0 / 0.7302 GB, free: 4.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006621/0.225, allocations: 316.8 kB / 0.7305 GB, free: 4.199 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.246e-05/0.225, allocations: 34.02 kB / 0.7305 GB, free: 4.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.225, allocations: 8 kB / 0.7305 GB, free: 4.152 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.2251, allocations: 7.938 kB / 0.7305 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.2253, allocations: 63.89 kB / 0.7306 GB, free: 4.082 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/0.2253, allocations: 7.938 kB / 0.7306 GB, free: 4.074 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.2256, allocations: 31.83 kB / 0.7306 GB, free: 4.043 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.2256, allocations: 8 kB / 0.7306 GB, free: 4.035 MB / 0.545 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.0001834/0.2258, allocations: 165.7 kB / 0.7308 GB, free: 3.863 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.91e-05/0.2258, allocations: 35.75 kB / 0.7308 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004614/0.2263, allocations: 192.5 kB / 0.731 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.2263, allocations: 4 kB / 0.731 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2263, allocations: 0 / 0.731 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005427/0.2269, allocations: 487.6 kB / 0.7315 GB, free: 3.07 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004893/0.2273, allocations: 324.5 kB / 0.7318 GB, free: 2.711 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.2274, allocations: 7.938 kB / 0.7318 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.2275, allocations: 27.98 kB / 0.7318 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2275, allocations: 0 / 0.7318 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.2275, allocations: 11.98 kB / 0.7318 GB, free: 2.664 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2275, allocations: 0 / 0.7318 GB, free: 2.664 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2276, allocations: 3.938 kB / 0.7318 GB, free: 2.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000627/0.2282, allocations: 294.9 kB / 0.7321 GB, free: 2.355 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.2283, allocations: 51.72 kB / 0.7321 GB, free: 2.305 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.413e-05/0.2284, allocations: 7.984 kB / 0.7321 GB, free: 2.297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.2286, allocations: 15.98 kB / 0.7322 GB, free: 2.281 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.2287, allocations: 11.97 kB / 0.7322 GB, free: 2.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.2287, allocations: 8 kB / 0.7322 GB, free: 2.262 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002989/0.229, allocations: 255.2 kB / 0.7324 GB, free: 2.012 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.229, allocations: 0 / 0.7324 GB, free: 2.012 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005323/0.2295, allocations: 127.7 kB / 0.7325 GB, free: 1.887 MB / 0.545 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.001411/0.2309, allocations: 0.9103 MB / 0.7334 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005595/0.2315, allocations: 225.6 kB / 0.7337 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2315, allocations: 0 / 0.7337 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.2317, allocations: 71.83 kB / 0.7337 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.2327, allocations: 214.5 kB / 0.7339 GB, free: 460 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005175/0.2379, allocations: 3.066 MB / 0.7369 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004613/0.2383, allocations: 0.7918 MB / 0.7377 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002794/0.2386, allocations: 63.19 kB / 0.7378 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.2388, allocations: 123.4 kB / 0.7379 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of SimCode: time 8.71e-07/0.2388, allocations: 0 / 0.7379 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04438/0.2832, allocations: 10.51 MB / 0.7481 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.59, allocations: 18.77 kB / 0.7482 GB, free: 1.953 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel.fmu > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.522744814865291] Failed to read output from testmodel.py, exit status != 0: 11.703645863104612 12.042087596 11.82560338 Calling exit ...