Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.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.0007856/0.0007856, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008152/0.0008152, allocations: 219.2 kB / 22.26 MB, free: 3.84 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.9655/0.9655, allocations: 230.6 MB / 256 MB, free: 9.828 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.7904/0.7904, allocations: 203.8 MB / 0.5042 GB, free: 10.64 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.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck",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.0008157/0.0008157, allocations: 68.52 kB / 0.7182 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.552/0.5528, allocations: 102 MB / 0.8178 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002094/0.5549, allocations: 1.281 MB / 0.8191 GB, free: 376 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.145/0.6999, allocations: 141 MB / 0.9568 GB, free: 7.27 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.505e-05/0.6999, allocations: 3.938 kB / 0.9568 GB, free: 7.266 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.7, allocations: 0 / 0.9568 GB, free: 7.266 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.676e-05/0.7, allocations: 3.938 kB / 0.9568 GB, free: 7.262 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.7011, allocations: 474.2 kB / 0.9572 GB, free: 6.801 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.965e-05/0.7011, allocations: 43.78 kB / 0.9573 GB, free: 6.758 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.7012, allocations: 0 / 0.9573 GB, free: 6.758 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.309e-05/0.7012, allocations: 23.97 kB / 0.9573 GB, free: 6.734 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.901e-05/0.7013, allocations: 23.91 kB / 0.9573 GB, free: 6.711 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.7013, allocations: 0 / 0.9573 GB, free: 6.711 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000993/0.7023, allocations: 0.8387 MB / 0.9581 GB, free: 5.871 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.7023, allocations: 11.98 kB / 0.9581 GB, free: 5.859 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.7023, allocations: 11.94 kB / 0.9582 GB, free: 5.848 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004202/0.7028, allocations: 453.3 kB / 0.9586 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.7028, allocations: 0 / 0.9586 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7028, allocations: 0 / 0.9586 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.7028, allocations: 0 / 0.9586 GB, free: 5.406 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004051/0.7032, allocations: 308.3 kB / 0.9589 GB, free: 5.078 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.7032, allocations: 8.031 kB / 0.9589 GB, free: 5.07 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.525e-05/0.7033, allocations: 38.73 kB / 0.9589 GB, free: 5.023 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.7034, allocations: 12.94 kB / 0.9589 GB, free: 5.012 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.169e-05/0.7035, allocations: 106.5 kB / 0.959 GB, free: 4.883 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.7035, allocations: 4.375 kB / 0.959 GB, free: 4.879 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.7035, allocations: 15.89 kB / 0.9591 GB, free: 4.863 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.7036, allocations: 53.67 kB / 0.9591 GB, free: 4.805 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.7036, allocations: 0 / 0.9591 GB, free: 4.805 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.7037, allocations: 0 / 0.9591 GB, free: 4.805 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.7037, allocations: 0 / 0.9591 GB, free: 4.805 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.773e-05/0.7037, allocations: 19.98 kB / 0.9591 GB, free: 4.785 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.7039, allocations: 140.7 kB / 0.9593 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.688e-05/0.704, allocations: 62.5 kB / 0.9593 GB, free: 4.535 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.713e-05/0.704, allocations: 16.84 kB / 0.9593 GB, free: 4.516 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005422/0.7094, allocations: 2.852 MB / 0.9621 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.7095, allocations: 34.56 kB / 0.9622 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.7095, allocations: 0 / 0.9622 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.02241/0.7319, allocations: 14.92 MB / 0.9767 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004828/0.7324, allocations: 55.34 kB / 0.9768 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.783e-05/0.7325, allocations: 93.86 kB / 0.9769 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.7325, allocations: 29.7 kB / 0.9769 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/0.7325, allocations: 80.14 kB / 0.977 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.316e-05/0.7326, allocations: 47.77 kB / 0.977 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.7326, allocations: 33.7 kB / 0.9771 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.7327, allocations: 318.8 kB / 0.9774 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.97e-05/0.7328, allocations: 23.98 kB / 0.9774 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.508e-05/0.7328, allocations: 23.98 kB / 0.9774 GB, free: 1.824 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.824e-05/0.7329, allocations: 63.48 kB / 0.9775 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.7329, allocations: 0 / 0.9775 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001763/0.7331, allocations: 101.7 kB / 0.9776 GB, free: 1.656 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.7331, allocations: 14.28 kB / 0.9776 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.7331, allocations: 4 kB / 0.9776 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/0.7331, allocations: 0 / 0.9776 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.7333, allocations: 23.98 kB / 0.9776 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.7333, allocations: 0 / 0.9776 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.077e-05/0.7333, allocations: 4 kB / 0.9776 GB, free: 1.613 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.7333, allocations: 4 kB / 0.9776 GB, free: 1.609 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 14 * 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 8.937e-05/0.7334, allocations: 117.8 kB / 0.9777 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.7334, allocations: 7.953 kB / 0.9777 GB, free: 1.477 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.7337, allocations: 134.2 kB / 0.9779 GB, free: 1.34 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.7337, allocations: 4 kB / 0.9779 GB, free: 1.336 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.7337, allocations: 0 / 0.9779 GB, free: 1.336 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.7337, allocations: 0 / 0.9779 GB, free: 1.336 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.7338, allocations: 148.7 kB / 0.978 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7338, allocations: 0 / 0.978 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.349e-05/0.7339, allocations: 23.98 kB / 0.978 GB, free: 1.125 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.7339, allocations: 0 / 0.978 GB, free: 1.125 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.7339, allocations: 12 kB / 0.978 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.7339, allocations: 0 / 0.978 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.7339, allocations: 3.984 kB / 0.978 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.7341, allocations: 158.9 kB / 0.9782 GB, free: 0.9375 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.67e-05/0.7342, allocations: 15.98 kB / 0.9782 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.7342, allocations: 0 / 0.9782 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.365e-05/0.7343, allocations: 19.98 kB / 0.9782 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.7343, allocations: 7.984 kB / 0.9782 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.7343, allocations: 8 kB / 0.9782 GB, free: 0.8867 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.694e-05/0.7343, allocations: 75.28 kB / 0.9783 GB, free: 0.8125 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.7343, allocations: 0 / 0.9783 GB, free: 0.8125 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001469/0.7358, allocations: 0.566 MB / 0.9789 GB, free: 252 kB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * 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.002273/0.7381, allocations: 0.9478 MB / 0.9798 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001402/0.7382, allocations: 59.91 kB / 0.9798 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7382, allocations: 0 / 0.9798 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 3.496e-05/0.7382, allocations: 29.31 kB / 0.9799 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.7384, allocations: 11.98 kB / 0.9799 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.74, allocations: 1.562 MB / 0.9814 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.7402, allocations: 0.6923 MB / 0.9821 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 6.018e-05/0.7402, allocations: 24.55 kB / 0.9821 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.7403, allocations: 15.44 kB / 0.9821 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of SimCode: time 7.62e-07/0.7403, allocations: 4 kB / 0.9821 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04012/0.7804, allocations: 25.65 MB / 1.007 GB, free: 3.254 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.396/8.176, allocations: 16.02 kB / 1.007 GB, free: 3.238 MB / 0.7761 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-10 IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.21499292505905] Failed to read output from testmodel.py, exit status != 0: 8.26192353409715 8.272724749 7.568227484 Calling exit ...