Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.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.0007672/0.0007672, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0009541/0.0009541, allocations: 210.6 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.9148/0.9148, allocations: 230.6 MB / 256 MB, free: 9.609 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.7528/0.7528, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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_T,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_T",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.00104/0.00104, allocations: 61.5 kB / 0.7182 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4698/0.4709, allocations: 102 MB / 0.8178 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_T): time 0.1527/0.6236, allocations: 171.8 MB / 0.9856 GB, free: 9.277 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.008037/0.6316, allocations: 9.266 MB / 0.9946 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006994/0.6323, allocations: 43.62 kB / 0.9946 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007838/0.6331, allocations: 412.9 kB / 0.995 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001919/0.635, allocations: 1.027 MB / 0.996 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002255/0.6373, allocations: 1.355 MB / 0.9974 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001581/0.6389, allocations: 1.709 MB / 0.999 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007853/0.6396, allocations: 0.6176 MB / 0.9996 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002717/0.6424, allocations: 1.689 MB / 1.001 GB, free: 9.098 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006329/0.643, allocations: 0.5249 MB / 1.002 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.834e-05/0.6431, allocations: 60 kB / 1.002 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002278/0.6453, allocations: 1.137 MB / 1.003 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003021/0.6457, allocations: 359 kB / 1.003 GB, free: 7.02 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003094/0.646, allocations: 362.3 kB / 1.004 GB, free: 6.664 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002271/0.6482, allocations: 1.467 MB / 1.005 GB, free: 5.191 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.6482, allocations: 0 / 1.005 GB, free: 5.191 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.395e-06/0.6482, allocations: 0 / 1.005 GB, free: 5.191 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.763e-05/0.6483, allocations: 0 / 1.005 GB, free: 5.191 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.001305/0.6496, allocations: 1.096 MB / 1.006 GB, free: 4.062 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.6496, allocations: 8.031 kB / 1.006 GB, free: 4.055 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/0.6497, allocations: 126.6 kB / 1.006 GB, free: 3.922 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.6509, allocations: 295.1 kB / 1.007 GB, free: 3.633 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007505/0.6517, allocations: 0.5049 MB / 1.007 GB, free: 3.098 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.456e-05/0.6517, allocations: 57.98 kB / 1.007 GB, free: 3.039 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.27e-05/0.6518, allocations: 75.98 kB / 1.007 GB, free: 2.965 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009978/0.6528, allocations: 0.8948 MB / 1.008 GB, free: 2.012 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.6528, allocations: 7.938 kB / 1.008 GB, free: 2.004 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/0.6528, allocations: 31.98 kB / 1.008 GB, free: 1.973 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.46e-05/0.6529, allocations: 45.23 kB / 1.008 GB, free: 1.93 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006802/0.6536, allocations: 0.5709 MB / 1.009 GB, free: 1.359 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002441/0.656, allocations: 3.005 MB / 1.012 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.6563, allocations: 207.7 kB / 1.012 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.6564, allocations: 142.5 kB / 1.012 GB, free: 13.87 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003524/0.6568, allocations: 107.9 kB / 1.012 GB, free: 13.76 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.6568, allocations: 30.56 kB / 1.012 GB, free: 13.72 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=21): time 1.904e-06/0.6568, allocations: 0 / 1.012 GB, free: 13.72 MB / 0.7917 GB Notification: Performance of matching and sorting (n=21): time 0.0007611/0.6576, allocations: 463.1 kB / 1.013 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.6576, allocations: 106.8 kB / 1.013 GB, free: 13.14 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007509/0.6584, allocations: 0.8683 MB / 1.013 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.6584, allocations: 33.7 kB / 1.014 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.6587, allocations: 392.2 kB / 1.014 GB, free: 11.83 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 5.283e-05/0.6587, allocations: 75.33 kB / 1.014 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.5e-05/0.6588, allocations: 61.72 kB / 1.014 GB, free: 11.69 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.886e-05/0.6589, allocations: 318 kB / 1.014 GB, free: 11.37 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.6591, allocations: 107.9 kB / 1.014 GB, free: 11.27 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.6593, allocations: 339.5 kB / 1.015 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/0.6597, allocations: 306.8 kB / 1.015 GB, free: 10.52 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.6597, allocations: 3.938 kB / 1.015 GB, free: 10.52 MB / 0.7917 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005061/0.6602, allocations: 403.6 kB / 1.015 GB, free: 10.12 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.6602, allocations: 11.98 kB / 1.015 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.6602, allocations: 0 / 1.015 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.6602, allocations: 7.938 kB / 1.015 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.6604, allocations: 59.91 kB / 1.016 GB, free: 10.04 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.6604, allocations: 4.062 kB / 1.016 GB, free: 10.04 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002791/0.6607, allocations: 87.69 kB / 1.016 GB, free: 9.953 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.6607, allocations: 16 kB / 1.016 GB, free: 9.938 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (32): * Single equations (assignments): 32 * 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.0002072/0.661, allocations: 237.6 kB / 1.016 GB, free: 9.695 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.782e-05/0.661, allocations: 83.48 kB / 1.016 GB, free: 9.613 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003869/0.6614, allocations: 322.3 kB / 1.016 GB, free: 9.293 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.6614, allocations: 4 kB / 1.016 GB, free: 9.289 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6614, allocations: 0 / 1.016 GB, free: 9.289 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.6614, allocations: 3.984 kB / 1.016 GB, free: 9.285 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.6627, allocations: 1.287 MB / 1.017 GB, free: 7.895 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.6627, allocations: 4 kB / 1.018 GB, free: 7.891 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.6628, allocations: 47.91 kB / 1.018 GB, free: 7.844 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.6628, allocations: 4 kB / 1.018 GB, free: 7.84 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.6628, allocations: 15.94 kB / 1.018 GB, free: 7.824 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.6628, allocations: 7.938 kB / 1.018 GB, free: 7.816 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.6628, allocations: 4 kB / 1.018 GB, free: 7.812 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004167/0.6632, allocations: 0.5184 MB / 1.018 GB, free: 7.227 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.6634, allocations: 123.3 kB / 1.018 GB, free: 7.105 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/0.6634, allocations: 11.98 kB / 1.018 GB, free: 7.094 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.6636, allocations: 19.92 kB / 1.018 GB, free: 7.074 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.6637, allocations: 23.86 kB / 1.018 GB, free: 7.051 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.6637, allocations: 15.98 kB / 1.018 GB, free: 7.035 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.000512/0.6642, allocations: 0.6083 MB / 1.019 GB, free: 6.434 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6642, allocations: 0 / 1.019 GB, free: 6.434 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004152/0.6646, allocations: 171.8 kB / 1.019 GB, free: 6.266 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (21): * Single equations (assignments): 21 * 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.0008107/0.6654, allocations: 1.118 MB / 1.02 GB, free: 5.066 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0003855/0.6658, allocations: 263.8 kB / 1.02 GB, free: 4.809 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6658, allocations: 0 / 1.02 GB, free: 4.809 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.666, allocations: 125.2 kB / 1.02 GB, free: 4.688 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.6671, allocations: 423.8 kB / 1.021 GB, free: 4.285 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005128/0.6722, allocations: 6.003 MB / 1.027 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.6724, allocations: 402.2 kB / 1.027 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003879/0.6728, allocations: 158.2 kB / 1.027 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/0.6731, allocations: 279.3 kB / 1.028 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of SimCode: time 1.623e-06/0.6731, allocations: 0 / 1.028 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03619/0.7092, allocations: 23.04 MB / 1.05 GB, free: 6.559 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.023/7.732, allocations: 8.625 kB / 1.05 GB, free: 6.551 MB / 0.823 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_T.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.515503234229982] Failed to read output from testmodel.py, exit status != 0: 7.822386446874589 7.832050714 7.181825298 Calling exit ...