Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.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.001664/0.001664, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002018/0.002018, allocations: 216.7 kB / 23.04 MB, free: 5.074 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.8253/0.8253, allocations: 134 MB / 447.2 MB, free: 10.25 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.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="cs",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.003106/0.003106, allocations: 66.05 kB / 0.6193 GB, free: 7.262 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1749, allocations: 85.91 MB / 0.7032 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.5745/0.7494, allocations: 179.7 MB / 0.8787 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0121/0.7615, allocations: 8.83 MB / 0.8873 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009696/0.7625, allocations: 35.69 kB / 0.8874 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009444/0.7634, allocations: 305.7 kB / 0.8877 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0008965/0.7643, allocations: 322.4 kB / 0.888 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.7655, allocations: 415.4 kB / 0.8884 GB, free: 9.008 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001658/0.7672, allocations: 1.18 MB / 0.8895 GB, free: 7.824 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008612/0.768, allocations: 443.1 kB / 0.8899 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005251/0.7733, allocations: 2.176 MB / 0.8921 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006839/0.7739, allocations: 374.4 kB / 0.8924 GB, free: 4.84 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.7741, allocations: 43.94 kB / 0.8925 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002587/0.7743, allocations: 91.88 kB / 0.8926 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003076/0.7746, allocations: 267.3 kB / 0.8928 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003397/0.775, allocations: 278.5 kB / 0.8931 GB, free: 4.172 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008865/0.7758, allocations: 0.6568 MB / 0.8937 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7759, allocations: 0 / 0.8937 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7759, allocations: 0 / 0.8937 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.7759, allocations: 0 / 0.8937 GB, free: 3.52 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001158/0.777, allocations: 0.7735 MB / 0.8945 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.7771, allocations: 8.031 kB / 0.8945 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.749e-05/0.7771, allocations: 17.31 kB / 0.8945 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.7772, allocations: 98.5 kB / 0.8946 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.7773, allocations: 75.58 kB / 0.8947 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007445/0.7781, allocations: 375.3 kB / 0.895 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.606e-05/0.7781, allocations: 41.31 kB / 0.8951 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.34e-05/0.7782, allocations: 55.98 kB / 0.8951 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.7793, allocations: 0.7065 MB / 0.8958 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.7793, allocations: 3.938 kB / 0.8958 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.716e-05/0.7793, allocations: 27.98 kB / 0.8958 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.926e-05/0.7794, allocations: 39.92 kB / 0.8959 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006597/0.7801, allocations: 367.4 kB / 0.8962 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003247/0.7833, allocations: 3.157 MB / 0.8993 GB, free: 13.51 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/0.7836, allocations: 218.1 kB / 0.8995 GB, free: 13.21 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.7839, allocations: 128.5 kB / 0.8996 GB, free: 13.05 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.7839, allocations: 11.92 kB / 0.8996 GB, free: 13.04 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.7839, allocations: 50.48 kB / 0.8997 GB, free: 12.98 MB / 0.67 GB Notification: Performance of pre-optimization done (n=10): time 2.585e-06/0.7839, allocations: 0 / 0.8997 GB, free: 12.98 MB / 0.67 GB Notification: Performance of matching and sorting (n=10): time 0.00077/0.7847, allocations: 250.2 kB / 0.8999 GB, free: 12.73 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001983/0.7849, allocations: 290.7 kB / 0.9002 GB, free: 12.38 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000857/0.7858, allocations: 0.6838 MB / 0.9009 GB, free: 11.69 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.7858, allocations: 33.7 kB / 0.9009 GB, free: 11.65 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.786, allocations: 268.2 kB / 0.9012 GB, free: 11.38 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.7861, allocations: 39.66 kB / 0.9012 GB, free: 11.34 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.421e-05/0.7861, allocations: 33.75 kB / 0.9012 GB, free: 11.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002258/0.7864, allocations: 370.8 kB / 0.9016 GB, free: 10.93 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.7865, allocations: 31.97 kB / 0.9016 GB, free: 10.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.7867, allocations: 97.03 kB / 0.9017 GB, free: 10.79 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.7869, allocations: 125 kB / 0.9018 GB, free: 10.65 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.7869, allocations: 0 / 0.9018 GB, free: 10.65 MB / 0.67 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003715/0.7873, allocations: 205.3 kB / 0.902 GB, free: 10.44 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.7873, allocations: 4 kB / 0.902 GB, free: 10.44 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.7873, allocations: 4 kB / 0.902 GB, free: 10.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.7873, allocations: 3.938 kB / 0.902 GB, free: 10.43 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.7876, allocations: 40.14 kB / 0.9021 GB, free: 10.39 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.7876, allocations: 7.938 kB / 0.9021 GB, free: 10.38 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.7878, allocations: 63.5 kB / 0.9021 GB, free: 10.32 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.7878, allocations: 4 kB / 0.9021 GB, free: 10.32 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0002202/0.788, allocations: 201.7 kB / 0.9023 GB, free: 10.11 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.7883, allocations: 71.55 kB / 0.9024 GB, free: 10.04 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.689e-05/0.7883, allocations: 56.27 kB / 0.9025 GB, free: 9.977 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.7883, allocations: 4 kB / 0.9025 GB, free: 9.973 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.7884, allocations: 0 / 0.9025 GB, free: 9.973 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.7884, allocations: 8 kB / 0.9025 GB, free: 9.965 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/0.7899, allocations: 1.276 MB / 0.9037 GB, free: 8.605 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.7899, allocations: 0 / 0.9037 GB, free: 8.605 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.7901, allocations: 39.95 kB / 0.9038 GB, free: 8.566 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.7901, allocations: 4 kB / 0.9038 GB, free: 8.562 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.7901, allocations: 8.875 kB / 0.9038 GB, free: 8.555 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.126e-06/0.7901, allocations: 7.938 kB / 0.9038 GB, free: 8.547 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7901, allocations: 4.219 kB / 0.9038 GB, free: 8.543 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004542/0.7906, allocations: 338.8 kB / 0.9041 GB, free: 8.168 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.7907, allocations: 67.61 kB / 0.9042 GB, free: 8.102 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.84e-05/0.7908, allocations: 8.266 kB / 0.9042 GB, free: 8.094 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.791, allocations: 17.69 kB / 0.9042 GB, free: 8.078 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.791, allocations: 15.92 kB / 0.9042 GB, free: 8.062 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.7911, allocations: 7.938 kB / 0.9042 GB, free: 8.055 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000604/0.7917, allocations: 0.4951 MB / 0.9047 GB, free: 7.566 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.7917, allocations: 0 / 0.9047 GB, free: 7.566 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004264/0.7921, allocations: 87.88 kB / 0.9048 GB, free: 7.48 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0008711/0.793, allocations: 0.8873 MB / 0.9057 GB, free: 6.535 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003371/0.7933, allocations: 107.8 kB / 0.9058 GB, free: 6.43 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.7933, allocations: 0 / 0.9058 GB, free: 6.43 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.7935, allocations: 60.52 kB / 0.9058 GB, free: 6.371 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.7949, allocations: 289.7 kB / 0.9061 GB, free: 6.109 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005884/0.8008, allocations: 4.473 MB / 0.9105 GB, free: 1.473 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000583/0.8014, allocations: 0.9011 MB / 0.9113 GB, free: 0.543 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002925/0.8016, allocations: 104.6 kB / 0.9114 GB, free: 452 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.8019, allocations: 171.4 kB / 0.9116 GB, free: 280 kB / 0.67 GB Notification: Performance of SimCode: time 1.062e-06/0.8019, allocations: 0 / 0.9116 GB, free: 280 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03916/0.841, allocations: 13.79 MB / 0.9251 GB, free: 2.77 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.52, allocations: 11.66 kB / 0.9251 GB, free: 2.762 MB / 0.6856 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.202568660955876] Failed to read output from testmodel.py, exit status != 0: 12.688578231958672 12.710008429 11.929712395 Calling exit ...