Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestSupplyValve.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.001347/0.001347, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001485/0.001485, allocations: 212.3 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 207.7 MB / 233.1 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008883/0.008883, allocations: 1.962 MB / 287.3 MB, free: 3.672 MB / 222.1 MB " [Timeout remaining time 180] Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(MEV.Test.TestSupplyValve,fileNamePrefix="MEV_MEV_Test_TestSupplyValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestSupplyValve,fileNamePrefix="MEV_MEV_Test_TestSupplyValve",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002226/0.002226, allocations: 71.91 kB / 401.8 MB, free: 50.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08041/0.08263, allocations: 49.7 MB / 451.5 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.002488/0.08512, allocations: 1.89 MB / 453.4 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008264/0.08595, allocations: 0.5501 MB / 453.9 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.18e-05/0.08601, allocations: 8 kB / 453.9 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.605e-05/0.08606, allocations: 19.78 kB / 453.9 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.08617, allocations: 39.62 kB / 454 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.08636, allocations: 35.91 kB / 454 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.08649, allocations: 139.2 kB / 454.1 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002185/0.08671, allocations: 29.16 kB / 454.2 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.598e-05/0.08678, allocations: 47.73 kB / 454.2 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.708e-05/0.08685, allocations: 47.78 kB / 454.3 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.08687, allocations: 12 kB / 454.3 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.594e-05/0.08693, allocations: 19.98 kB / 454.3 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.08695, allocations: 27.91 kB / 454.3 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.08699, allocations: 43.75 kB / 454.4 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.08712, allocations: 115.5 kB / 454.5 MB, free: 3.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.08713, allocations: 0 / 454.5 MB, free: 3.059 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.08713, allocations: 0 / 454.5 MB, free: 3.059 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.08713, allocations: 0 / 454.5 MB, free: 3.059 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004305/0.08756, allocations: 345.7 kB / 454.8 MB, free: 2.691 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.0876, allocations: 11.98 kB / 454.8 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.23e-05/0.08763, allocations: 50.73 kB / 454.9 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.08766, allocations: 16.84 kB / 454.9 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.08779, allocations: 142.2 kB / 455 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.0878, allocations: 8.375 kB / 455 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.08781, allocations: 8.375 kB / 455.1 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.08805, allocations: 93.72 kB / 455.1 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.08807, allocations: 0 / 455.1 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.08808, allocations: 7.938 kB / 455.2 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.08809, allocations: 3.984 kB / 455.2 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.08821, allocations: 59.91 kB / 455.2 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.08865, allocations: 335.7 kB / 455.5 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/0.08905, allocations: 70.47 kB / 455.6 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.846e-05/0.0891, allocations: 16.86 kB / 455.6 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.08911, allocations: 0 / 455.6 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.49e-05/0.08913, allocations: 34.64 kB / 455.7 MB, free: 1.746 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.08913, allocations: 0 / 455.7 MB, free: 1.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002914/0.08942, allocations: 97.45 kB / 455.8 MB, free: 1.645 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.08947, allocations: 55.41 kB / 455.8 MB, free: 1.578 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.08959, allocations: 178.8 kB / 456 MB, free: 1.391 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.0896, allocations: 25.7 kB / 456 MB, free: 1.359 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.466e-05/0.08964, allocations: 116 kB / 456.1 MB, free: 1.242 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.997e-06/0.08965, allocations: 11.91 kB / 456.1 MB, free: 1.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.08968, allocations: 17.72 kB / 456.2 MB, free: 1.207 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.552e-05/0.08973, allocations: 322.8 kB / 456.5 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.574e-05/0.08978, allocations: 28.84 kB / 456.5 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.077e-05/0.08982, allocations: 16.11 kB / 456.5 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.924e-05/0.08991, allocations: 56.84 kB / 456.6 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.08991, allocations: 0 / 456.6 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001314/0.09005, allocations: 89.56 kB / 456.7 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.09006, allocations: 7.938 kB / 456.7 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.09006, allocations: 0 / 456.7 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.09008, allocations: 4 kB / 456.7 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.761e-05/0.09014, allocations: 8 kB / 456.7 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.09015, allocations: 0 / 456.7 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.034e-05/0.09021, allocations: 15.88 kB / 456.7 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.09021, allocations: 4 kB / 456.7 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.481e-05/0.09028, allocations: 104.1 kB / 456.8 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.529e-05/0.09031, allocations: 16 kB / 456.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.861e-05/0.09038, allocations: 40.78 kB / 456.9 MB, free: 492 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-06/0.09038, allocations: 7.984 kB / 456.9 MB, free: 484 kB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001101/0.09049, allocations: 85.56 kB / 456.9 MB, free: 392 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.93e-06/0.0905, allocations: 4 kB / 456.9 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-06/0.0905, allocations: 0 / 456.9 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-06/0.0905, allocations: 7.938 kB / 457 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.93e-05/0.09055, allocations: 12 kB / 457 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-06/0.09055, allocations: 256 / 457 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.827e-05/0.0906, allocations: 7.984 kB / 457 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-06/0.0906, allocations: 4 kB / 457 MB, free: 356 kB / 318.1 MB 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 (6): * Single equations (assignments): 6 * 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.0001796/0.09078, allocations: 177.3 kB / 457.2 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.09081, allocations: 27.78 kB / 457.2 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.09096, allocations: 78.62 kB / 457.3 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.09096, allocations: 4 kB / 457.3 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.09097, allocations: 0 / 457.3 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.09097, allocations: 4 kB / 457.3 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004082/0.09138, allocations: 318.3 kB / 457.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.09138, allocations: 0 / 457.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.127e-05/0.09143, allocations: 12 kB / 457.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.09143, allocations: 0 / 457.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.09144, allocations: 3.984 kB / 457.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.09145, allocations: 4 kB / 457.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.09145, allocations: 0 / 457.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.09165, allocations: 176.6 kB / 457.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/0.09169, allocations: 23.83 kB / 457.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.09172, allocations: 3.984 kB / 457.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.674e-05/0.0918, allocations: 11.98 kB / 457.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.09183, allocations: 0 / 457.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.09183, allocations: 4 kB / 457.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.09196, allocations: 140 kB / 457.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09196, allocations: 0 / 457.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003984/0.09236, allocations: 36 kB / 458 MB, free: 15.25 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0005421/0.0929, allocations: 0.7054 MB / 458.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.09311, allocations: 71.89 kB / 458.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.09311, allocations: 0 / 458.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.759e-05/0.09316, allocations: 15.88 kB / 458.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.09351, allocations: 23.89 kB / 458.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.09559, allocations: 1.665 MB / 460.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.405e-05/0.09569, allocations: 85.19 kB / 460.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.622e-05/0.09573, allocations: 12.42 kB / 460.6 MB, free: 12.53 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.4e-05/0.09579, allocations: 31.36 kB / 460.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.09579, allocations: 4 kB / 460.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03078/0.1266, allocations: 3.088 MB / 463.7 MB, free: 9.363 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/10.91, allocations: 12.06 kB / 463.7 MB, free: 9.352 MB / 334.1 MB " [Timeout remaining time 649] (rm -f MEV_MEV.Test.TestSupplyValve.pipe ; mkfifo MEV_MEV.Test.TestSupplyValve.pipe ; head -c 1048576 < MEV_MEV.Test.TestSupplyValve.pipe >> ../files/MEV_MEV.Test.TestSupplyValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestSupplyValve_fmu --startTime=0 --stopTime=2 --stepSize=0.004 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestSupplyValve.fmu > MEV_MEV.Test.TestSupplyValve.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.397663471288979] Failed to read output from testmodel.py, exit status != 0: 11.010202112141997 11.037163601 10.945311967 Calling exit ...