Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.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.0008398/0.0008398, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.00124/0.00124, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.8755/0.8755, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.00778/0.00778, allocations: 1.981 MB / 261.2 MB, free: 11.27 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs_state",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs_state",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 384.6 MB, free: 11.94 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.321e-05, allocations: 12.97 kB / 384.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.007035/0.007058, allocations: 7.564 MB / 392.2 MB, free: 4.328 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004625/0.007521, allocations: 0.8212 MB / 393 MB, free: 3.504 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.007554, allocations: 0 / 393 MB, free: 3.504 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.007781, allocations: 63.58 kB / 393.1 MB, free: 3.441 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 2.548e-05/0.007807, allocations: 19.84 kB / 393.1 MB, free: 3.422 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.008163, allocations: 123 kB / 393.2 MB, free: 3.301 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 8.672e-05/0.008249, allocations: 59.55 kB / 393.3 MB, free: 3.242 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.808e-05/0.008297, allocations: 7.984 kB / 393.3 MB, free: 3.234 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.407e-05/0.008341, allocations: 19.98 kB / 393.3 MB, free: 3.215 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.39e-05/0.008395, allocations: 15.92 kB / 393.3 MB, free: 3.199 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.008409, allocations: 0 / 393.3 MB, free: 3.199 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03975/0.04816, allocations: 13.72 MB / 407 MB, free: 7.25 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.04817, allocations: 4 kB / 407.1 MB, free: 7.246 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.805e-05/0.04822, allocations: 15.94 kB / 407.1 MB, free: 7.23 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003229/0.04854, allocations: 87.7 kB / 407.2 MB, free: 7.145 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.04855, allocations: 0 / 407.2 MB, free: 7.145 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.04855, allocations: 0 / 407.2 MB, free: 7.145 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.04855, allocations: 0 / 407.2 MB, free: 7.145 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003871/0.04894, allocations: 289 kB / 407.4 MB, free: 6.836 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.04899, allocations: 8.031 kB / 407.4 MB, free: 6.828 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.57e-05/0.04903, allocations: 38.73 kB / 407.5 MB, free: 6.781 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.69e-05/0.04911, allocations: 28.88 kB / 407.5 MB, free: 6.754 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.783e-05/0.04918, allocations: 105.7 kB / 407.6 MB, free: 6.625 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.04919, allocations: 4.375 kB / 407.6 MB, free: 6.621 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.617e-06/0.0492, allocations: 384 / 407.6 MB, free: 6.621 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.04932, allocations: 73.8 kB / 407.7 MB, free: 6.543 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.04933, allocations: 0 / 407.7 MB, free: 6.543 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.04934, allocations: 4 kB / 407.7 MB, free: 6.539 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.04935, allocations: 8 kB / 407.7 MB, free: 6.531 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.207e-05/0.04939, allocations: 35.92 kB / 407.7 MB, free: 6.496 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.04974, allocations: 296.4 kB / 408 MB, free: 6.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.752e-05/0.0498, allocations: 30.58 kB / 408.1 MB, free: 6.121 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.15e-05/0.04983, allocations: 28.86 kB / 408.1 MB, free: 6.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.04986, allocations: 7.969 kB / 408.1 MB, free: 6.082 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.04988, allocations: 34.56 kB / 408.1 MB, free: 6.039 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/0.04988, allocations: 0 / 408.1 MB, free: 6.039 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001933/0.05008, allocations: 105.8 kB / 408.2 MB, free: 5.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.05011, allocations: 51.41 kB / 408.3 MB, free: 5.867 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.905e-05/0.05014, allocations: 93.8 kB / 408.4 MB, free: 5.766 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.05015, allocations: 29.7 kB / 408.4 MB, free: 5.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.515e-05/0.05017, allocations: 84.14 kB / 408.5 MB, free: 5.645 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.05021, allocations: 51.48 kB / 408.5 MB, free: 5.594 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.05025, allocations: 33.64 kB / 408.6 MB, free: 5.555 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.462e-05/0.05034, allocations: 322.8 kB / 408.9 MB, free: 5.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.396e-05/0.05036, allocations: 15.98 kB / 408.9 MB, free: 5.215 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.073e-05/0.05039, allocations: 20.41 kB / 408.9 MB, free: 5.195 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.614e-05/0.05045, allocations: 60.98 kB / 409 MB, free: 5.133 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.05045, allocations: 0 / 409 MB, free: 5.133 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 8.958e-05/0.05054, allocations: 81.64 kB / 409.1 MB, free: 5.047 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.05056, allocations: 4 kB / 409.1 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.05057, allocations: 0 / 409.1 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.05058, allocations: 7.984 kB / 409.1 MB, free: 5.035 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.761e-05/0.05064, allocations: 0 / 409.1 MB, free: 5.035 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.05064, allocations: 4 kB / 409.1 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.062e-05/0.05066, allocations: 15.89 kB / 409.1 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.05067, allocations: 0 / 409.1 MB, free: 5.016 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (fluid.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.008e-05/0.05074, allocations: 117.7 kB / 409.2 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.05075, allocations: 3.953 kB / 409.2 MB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.018e-05/0.05078, allocations: 12.45 kB / 409.2 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.05079, allocations: 3.984 kB / 409.2 MB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.05079, allocations: 0 / 409.2 MB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.05079, allocations: 0 / 409.2 MB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.05092, allocations: 152.9 kB / 409.4 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.05092, allocations: 4 kB / 409.4 MB, free: 4.676 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.726e-05/0.05094, allocations: 7.984 kB / 409.4 MB, free: 4.668 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.05094, allocations: 0 / 409.4 MB, free: 4.668 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.05095, allocations: 0 / 409.4 MB, free: 4.668 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.05095, allocations: 0 / 409.4 MB, free: 4.668 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.05095, allocations: 4 kB / 409.4 MB, free: 4.664 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.05108, allocations: 191.3 kB / 409.6 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-06/0.05109, allocations: 3.953 kB / 409.6 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.0511, allocations: 3.984 kB / 409.6 MB, free: 4.453 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.3e-05/0.05113, allocations: 12 kB / 409.6 MB, free: 4.441 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.526e-05/0.05115, allocations: 3.938 kB / 409.6 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.05115, allocations: 4 kB / 409.6 MB, free: 4.434 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.159e-05/0.05117, allocations: 75.28 kB / 409.7 MB, free: 4.359 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.05117, allocations: 0 / 409.7 MB, free: 4.359 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001727/0.05134, allocations: 23.94 kB / 409.7 MB, free: 4.336 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (fluid.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * 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.0005113/0.05186, allocations: 0.7638 MB / 410.5 MB, free: 3.551 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001644/0.05202, allocations: 105.4 kB / 410.6 MB, free: 3.441 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.05202, allocations: 0 / 410.6 MB, free: 3.441 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.638e-05/0.05208, allocations: 86.55 kB / 410.6 MB, free: 3.348 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.05237, allocations: 27.97 kB / 410.7 MB, free: 3.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004963/0.05287, allocations: 298.5 kB / 411 MB, free: 2.988 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.476e-05/0.05295, allocations: 102.1 kB / 411.1 MB, free: 2.871 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.714e-05/0.053, allocations: 8.328 kB / 411.1 MB, free: 2.859 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.5e-05/0.05304, allocations: 40.48 kB / 411.1 MB, free: 2.82 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.05304, allocations: 0 / 411.1 MB, free: 2.82 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1427/0.1957, allocations: 4.806 MB / 415.9 MB, free: 39.51 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.726/6.922, allocations: 3.297 kB / 415.9 MB, free: 39.51 MB / 330.7 MB " [Timeout remaining time 653] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs_state_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs_state.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.412859950214624] Failed to read output from testmodel.py, exit status != 0: 7.257684943266213 7.268138295 7.217753754 Calling exit ...