Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007611/0.0007611, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008487/0.0008487, allocations: 213.9 kB / 22.25 MB, free: 3.578 MB / 13.93 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.9119/0.9119, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7496/0.7496, allocations: 203.8 MB / 0.5042 GB, free: 10.44 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_dev_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.001369/0.001369, allocations: 71.44 kB / 0.7182 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4733/0.4747, allocations: 102 MB / 0.8178 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.1399/0.6145, allocations: 155.4 MB / 0.9696 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005828/0.6204, allocations: 8.021 MB / 0.9774 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000269/0.6206, allocations: 27.75 kB / 0.9774 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004894/0.6211, allocations: 309.7 kB / 0.9777 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004411/0.6216, allocations: 318.4 kB / 0.978 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007283/0.6223, allocations: 428.4 kB / 0.9784 GB, free: 0.6562 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007784/0.6231, allocations: 1.16 MB / 0.9796 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004618/0.6235, allocations: 447.1 kB / 0.98 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002589/0.6261, allocations: 2.102 MB / 0.982 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002767/0.6264, allocations: 346.4 kB / 0.9824 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 4.192e-05/0.6264, allocations: 40 kB / 0.9824 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.6266, allocations: 83.94 kB / 0.9825 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.6267, allocations: 267.2 kB / 0.9827 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.6269, allocations: 230.9 kB / 0.983 GB, free: 12 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0004241/0.6273, allocations: 0.6495 MB / 0.9836 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6273, allocations: 0 / 0.9836 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6273, allocations: 0 / 0.9836 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.6273, allocations: 0 / 0.9836 GB, free: 11.34 MB / 0.7605 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.0006564/0.628, allocations: 0.762 MB / 0.9843 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.628, allocations: 12.03 kB / 0.9843 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.543e-05/0.6281, allocations: 90.52 kB / 0.9844 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.588e-05/0.6281, allocations: 75.52 kB / 0.9845 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/0.6286, allocations: 387.2 kB / 0.9849 GB, free: 9.961 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.6286, allocations: 41.31 kB / 0.9849 GB, free: 9.922 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.6286, allocations: 55.98 kB / 0.985 GB, free: 9.867 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006321/0.6293, allocations: 0.7027 MB / 0.9857 GB, free: 9.082 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.6293, allocations: 7.938 kB / 0.9857 GB, free: 9.074 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.6293, allocations: 31.91 kB / 0.9857 GB, free: 9.043 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/0.6293, allocations: 27.98 kB / 0.9857 GB, free: 9.016 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003945/0.6297, allocations: 375.4 kB / 0.9861 GB, free: 8.648 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.6314, allocations: 3.071 MB / 0.9891 GB, free: 5.438 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.6316, allocations: 214.1 kB / 0.9893 GB, free: 5.137 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.6317, allocations: 124.9 kB / 0.9894 GB, free: 4.984 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.6317, allocations: 8 kB / 0.9894 GB, free: 4.977 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.6317, allocations: 42.5 kB / 0.9894 GB, free: 4.926 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.6317, allocations: 3.938 kB / 0.9895 GB, free: 4.922 MB / 0.7605 GB Notification: Performance of matching and sorting (n=10): time 0.0004053/0.6321, allocations: 257.8 kB / 0.9897 GB, free: 4.664 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.192e-05/0.6322, allocations: 294.7 kB / 0.99 GB, free: 4.309 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004891/0.6327, allocations: 0.6877 MB / 0.9906 GB, free: 3.609 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.6327, allocations: 25.7 kB / 0.9907 GB, free: 3.578 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.6329, allocations: 272.2 kB / 0.9909 GB, free: 3.309 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.6329, allocations: 39.66 kB / 0.991 GB, free: 3.27 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.6329, allocations: 29.72 kB / 0.991 GB, free: 3.234 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.712e-05/0.633, allocations: 370.8 kB / 0.9914 GB, free: 2.863 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.969e-05/0.6331, allocations: 40.22 kB / 0.9914 GB, free: 2.824 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.6332, allocations: 221.6 kB / 0.9916 GB, free: 2.559 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.6333, allocations: 125 kB / 0.9917 GB, free: 2.418 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.6333, allocations: 4 kB / 0.9917 GB, free: 2.414 MB / 0.7605 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001842/0.6335, allocations: 197 kB / 0.9919 GB, free: 2.215 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.6335, allocations: 11.94 kB / 0.9919 GB, free: 2.203 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.6335, allocations: 0 / 0.9919 GB, free: 2.203 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.6336, allocations: 4 kB / 0.9919 GB, free: 2.199 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.6337, allocations: 40.14 kB / 0.992 GB, free: 2.16 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.6337, allocations: 4 kB / 0.992 GB, free: 2.156 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.6338, allocations: 55.5 kB / 0.992 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.6338, allocations: 12 kB / 0.992 GB, free: 2.09 MB / 0.7605 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.0001316/0.6339, allocations: 201.7 kB / 0.9922 GB, free: 1.883 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.6341, allocations: 63.56 kB / 0.9923 GB, free: 1.82 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.57e-05/0.6341, allocations: 64.22 kB / 0.9924 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.6341, allocations: 4 kB / 0.9924 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6341, allocations: 8 kB / 0.9924 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.6341, allocations: 4.188 kB / 0.9924 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008524/0.635, allocations: 1.233 MB / 0.9936 GB, free: 424 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.635, allocations: 3.938 kB / 0.9936 GB, free: 420 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.632e-05/0.6351, allocations: 47.95 kB / 0.9936 GB, free: 372 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.6351, allocations: 8.281 kB / 0.9936 GB, free: 364 kB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.016e-06/0.6351, allocations: 4 kB / 0.9936 GB, free: 360 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.6351, allocations: 4 kB / 0.9936 GB, free: 356 kB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6351, allocations: 0 / 0.9936 GB, free: 356 kB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.6353, allocations: 342.6 kB / 0.994 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.842e-05/0.6354, allocations: 67.61 kB / 0.994 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.6354, allocations: 15.92 kB / 0.994 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.725e-05/0.6355, allocations: 12 kB / 0.9941 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.6356, allocations: 15.92 kB / 0.9941 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.6356, allocations: 4 kB / 0.9941 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003547/0.6359, allocations: 0.4912 MB / 0.9946 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6359, allocations: 0 / 0.9946 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002499/0.6362, allocations: 91.88 kB / 0.9946 GB, free: 15.28 MB / 0.7761 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.0005644/0.6367, allocations: 0.8951 MB / 0.9955 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001889/0.6369, allocations: 99.8 kB / 0.9956 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.6369, allocations: 0 / 0.9956 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.473e-05/0.637, allocations: 64.7 kB / 0.9957 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007184/0.6377, allocations: 286.4 kB / 0.9959 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/0.641, allocations: 4.45 MB / 1 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.6412, allocations: 309.6 kB / 1.001 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001758/0.6414, allocations: 104.6 kB / 1.001 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.6415, allocations: 175.4 kB / 1.001 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.6415, allocations: 0 / 1.001 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.665, allocations: 15.21 MB / 1.016 GB, free: 9.812 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.63/7.295, allocations: 5.562 kB / 1.016 GB, free: 9.812 MB / 0.7917 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.068812108132988] Failed to read output from testmodel.py, exit status != 0: 7.377424845006317 7.38612647 6.756939926 Calling exit ...