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.001439/0.001439, 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.001675/0.001675, allocations: 217.6 kB / 22.25 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.39/1.39, allocations: 230.6 MB / 256 MB, free: 7.977 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.8346/0.8346, allocations: 134 MB / 446.4 MB, free: 10.22 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h",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.00197/0.00197, allocations: 62.97 kB / 0.6185 GB, free: 7.375 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1645, allocations: 85.91 MB / 0.7024 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.5574/0.7219, allocations: 179.7 MB / 0.878 GB, free: 2.973 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01061/0.7325, allocations: 8.829 MB / 0.8866 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006338/0.7331, allocations: 35.75 kB / 0.8866 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007839/0.7339, allocations: 309.7 kB / 0.8869 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0007597/0.7347, allocations: 318.4 kB / 0.8872 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.7358, allocations: 414.9 kB / 0.8876 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001346/0.7371, allocations: 1.184 MB / 0.8888 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006933/0.7378, allocations: 435.2 kB / 0.8892 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004786/0.7426, allocations: 2.176 MB / 0.8913 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005567/0.7431, allocations: 386.3 kB / 0.8917 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.498e-05/0.7432, allocations: 40 kB / 0.8917 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.7434, allocations: 79.95 kB / 0.8918 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002678/0.7437, allocations: 271.2 kB / 0.892 GB, free: 4.508 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002857/0.744, allocations: 294.4 kB / 0.8923 GB, free: 4.219 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007574/0.7447, allocations: 0.6479 MB / 0.893 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.7447, allocations: 0 / 0.893 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7447, allocations: 0 / 0.893 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.7447, allocations: 4 kB / 0.893 GB, free: 3.57 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.001041/0.7458, allocations: 0.7658 MB / 0.8937 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.7458, allocations: 12.03 kB / 0.8937 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001/0.7459, allocations: 94.45 kB / 0.8938 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.727e-05/0.746, allocations: 71.58 kB / 0.8939 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007159/0.7467, allocations: 383.2 kB / 0.8942 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/0.7468, allocations: 45.3 kB / 0.8943 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.206e-05/0.7468, allocations: 48 kB / 0.8943 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.7479, allocations: 0.7147 MB / 0.895 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.7479, allocations: 7.875 kB / 0.895 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.19e-05/0.7479, allocations: 20 kB / 0.8951 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.241e-05/0.748, allocations: 27.98 kB / 0.8951 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006467/0.7486, allocations: 380.6 kB / 0.8954 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002792/0.7514, allocations: 3.157 MB / 0.8985 GB, free: 13.58 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.7517, allocations: 218.1 kB / 0.8987 GB, free: 13.28 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/0.7519, allocations: 128.5 kB / 0.8989 GB, free: 13.12 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.7519, allocations: 4 kB / 0.8989 GB, free: 13.12 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.7519, allocations: 54.42 kB / 0.8989 GB, free: 13.05 MB / 0.67 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.7519, allocations: 0 / 0.8989 GB, free: 13.05 MB / 0.67 GB Notification: Performance of matching and sorting (n=10): time 0.0006879/0.7526, allocations: 250.1 kB / 0.8992 GB, free: 12.8 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001655/0.7528, allocations: 294.8 kB / 0.8994 GB, free: 12.45 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007765/0.7536, allocations: 0.6799 MB / 0.9001 GB, free: 11.76 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.7536, allocations: 33.7 kB / 0.9001 GB, free: 11.72 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.7538, allocations: 268.2 kB / 0.9004 GB, free: 11.46 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.7539, allocations: 27.75 kB / 0.9004 GB, free: 11.43 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.7539, allocations: 33.7 kB / 0.9004 GB, free: 11.39 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.7541, allocations: 378.7 kB / 0.9008 GB, free: 11.01 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.7542, allocations: 31.97 kB / 0.9008 GB, free: 10.98 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.7544, allocations: 93.05 kB / 0.9009 GB, free: 10.87 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/0.7546, allocations: 133 kB / 0.9011 GB, free: 10.72 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7546, allocations: 0 / 0.9011 GB, free: 10.72 MB / 0.67 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003402/0.755, allocations: 197 kB / 0.9012 GB, free: 10.52 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.755, allocations: 7.984 kB / 0.9012 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.755, allocations: 4 kB / 0.9012 GB, free: 10.51 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.755, allocations: 0 / 0.9012 GB, free: 10.51 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.7552, allocations: 43.91 kB / 0.9013 GB, free: 10.47 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.7552, allocations: 4.5 kB / 0.9013 GB, free: 10.46 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.7554, allocations: 59.52 kB / 0.9014 GB, free: 10.41 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.7554, allocations: 7.984 kB / 0.9014 GB, free: 10.4 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.0002106/0.7556, allocations: 205.7 kB / 0.9016 GB, free: 10.19 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.7559, allocations: 63.56 kB / 0.9016 GB, free: 10.12 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.018e-05/0.756, allocations: 64.25 kB / 0.9017 GB, free: 10.05 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.756, allocations: 4 kB / 0.9017 GB, free: 10.05 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.756, allocations: 3.938 kB / 0.9017 GB, free: 10.05 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.756, allocations: 4 kB / 0.9017 GB, free: 10.04 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.7574, allocations: 1.276 MB / 0.9029 GB, free: 8.684 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.7574, allocations: 2.438 kB / 0.9029 GB, free: 8.684 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.7576, allocations: 43.91 kB / 0.903 GB, free: 8.641 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.7576, allocations: 7.984 kB / 0.903 GB, free: 8.633 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.7576, allocations: 4 kB / 0.903 GB, free: 8.629 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.7576, allocations: 0 / 0.903 GB, free: 8.629 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.7576, allocations: 7.938 kB / 0.903 GB, free: 8.621 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004068/0.758, allocations: 338.9 kB / 0.9033 GB, free: 8.246 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.7582, allocations: 71.59 kB / 0.9034 GB, free: 8.176 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.302e-05/0.7582, allocations: 4 kB / 0.9034 GB, free: 8.172 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.7584, allocations: 11.98 kB / 0.9034 GB, free: 8.16 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.7584, allocations: 15.92 kB / 0.9034 GB, free: 8.145 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.7584, allocations: 12 kB / 0.9034 GB, free: 8.133 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005651/0.759, allocations: 0.4915 MB / 0.9039 GB, free: 7.648 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.759, allocations: 0 / 0.9039 GB, free: 7.648 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003822/0.7594, allocations: 83.89 kB / 0.904 GB, free: 7.566 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.0008342/0.7602, allocations: 0.9029 MB / 0.9049 GB, free: 6.609 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003152/0.7605, allocations: 99.8 kB / 0.905 GB, free: 6.512 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.7605, allocations: 4 kB / 0.905 GB, free: 6.508 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.7607, allocations: 68.77 kB / 0.905 GB, free: 6.441 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.7619, allocations: 279.1 kB / 0.9053 GB, free: 6.188 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005403/0.7673, allocations: 4.469 MB / 0.9097 GB, free: 1.555 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005509/0.7679, allocations: 0.905 MB / 0.9106 GB, free: 0.6211 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002531/0.7681, allocations: 104.6 kB / 0.9107 GB, free: 0.5195 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.7683, allocations: 175.4 kB / 0.9108 GB, free: 356 kB / 0.67 GB Notification: Performance of SimCode: time 5.71e-07/0.7683, allocations: 0 / 0.9108 GB, free: 356 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0436/0.8119, allocations: 13.74 MB / 0.9242 GB, free: 2.875 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.45, allocations: 8 kB / 0.9242 GB, free: 2.867 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: 15.911333044990897] Failed to read output from testmodel.py, exit status != 0: 12.555142418015748 12.572921161 11.824618812 Calling exit ...