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.001482/0.001482, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001456/0.001456, allocations: 218 kB / 23.04 MB, free: 5.078 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.33/1.33, allocations: 207.6 MB / 233.8 MB, free: 9.988 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.00834/0.00834, allocations: 1.951 MB / 288 MB, free: 3.871 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestSupplyValve,fileNamePrefix="MEV_MEV_Test_TestSupplyValve",fmuType="cs",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.002139/0.002139, allocations: 68.75 kB / 402.6 MB, free: 50.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08195/0.08409, allocations: 49.7 MB / 452.3 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.002405/0.0865, allocations: 1.985 MB / 454.3 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007063/0.0872, allocations: 0.5851 MB / 454.8 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.646e-05/0.08726, allocations: 4 kB / 454.8 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.03e-05/0.08731, allocations: 19.73 kB / 454.9 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.08743, allocations: 47.61 kB / 454.9 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.08762, allocations: 35.89 kB / 454.9 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.08777, allocations: 139.3 kB / 455.1 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.08788, allocations: 21.17 kB / 455.1 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.512e-05/0.08795, allocations: 55.84 kB / 455.2 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.624e-05/0.08803, allocations: 55.7 kB / 455.2 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.08805, allocations: 8 kB / 455.2 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.38e-05/0.0881, allocations: 19.94 kB / 455.2 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.08812, allocations: 23.92 kB / 455.3 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.315e-05/0.08817, allocations: 55.67 kB / 455.3 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.08831, allocations: 115.5 kB / 455.4 MB, free: 3.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.08831, allocations: 0 / 455.4 MB, free: 3.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.08832, allocations: 0 / 455.4 MB, free: 3.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.08832, allocations: 0 / 455.4 MB, free: 3.09 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.0004507/0.08877, allocations: 353.7 kB / 455.8 MB, free: 2.715 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.08881, allocations: 11.98 kB / 455.8 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.297e-05/0.08882, allocations: 4.188 kB / 455.8 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.344e-05/0.08884, allocations: 34.75 kB / 455.8 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.08888, allocations: 16.84 kB / 455.8 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.08902, allocations: 154.1 kB / 456 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-06/0.08902, allocations: 4.375 kB / 456 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.08904, allocations: 8.375 kB / 456 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.0892, allocations: 97.53 kB / 456.1 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.08921, allocations: 3.938 kB / 456.1 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.08922, allocations: 0 / 456.1 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.08923, allocations: 4 kB / 456.1 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.08935, allocations: 51.97 kB / 456.2 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004405/0.08979, allocations: 351.6 kB / 456.5 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004074/0.09019, allocations: 74.47 kB / 456.6 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.158e-05/0.09024, allocations: 20.94 kB / 456.6 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.09026, allocations: 0 / 456.6 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.325e-05/0.09027, allocations: 38.5 kB / 456.6 MB, free: 1.754 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.09027, allocations: 0 / 456.6 MB, free: 1.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002334/0.09051, allocations: 93.58 kB / 456.7 MB, free: 1.656 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.955e-05/0.09053, allocations: 51.41 kB / 456.8 MB, free: 1.594 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.09064, allocations: 186.7 kB / 457 MB, free: 1.398 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.09065, allocations: 25.7 kB / 457 MB, free: 1.367 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.178e-05/0.09069, allocations: 112 kB / 457.1 MB, free: 1.254 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.137e-06/0.0907, allocations: 11.95 kB / 457.1 MB, free: 1.242 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.09073, allocations: 25.66 kB / 457.1 MB, free: 1.211 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.355e-05/0.09078, allocations: 322.8 kB / 457.4 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.337e-05/0.09083, allocations: 24.86 kB / 457.5 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.21e-05/0.09087, allocations: 19.98 kB / 457.5 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.768e-05/0.09096, allocations: 48.84 kB / 457.5 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.09096, allocations: 128 / 457.5 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001311/0.09109, allocations: 89.62 kB / 457.6 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.0911, allocations: 7.938 kB / 457.6 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.09111, allocations: 0 / 457.6 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.09112, allocations: 7.938 kB / 457.6 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/0.09119, allocations: 15.98 kB / 457.6 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.09119, allocations: 0 / 457.6 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.921e-05/0.09125, allocations: 11.89 kB / 457.7 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.09126, allocations: 0 / 457.7 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.6e-05/0.09132, allocations: 104.1 kB / 457.8 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.377e-05/0.09136, allocations: 15.98 kB / 457.8 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.996e-05/0.09143, allocations: 44.78 kB / 457.8 MB, free: 496 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.91e-07/0.09143, allocations: 4 kB / 457.8 MB, free: 492 kB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001126/0.09154, allocations: 81.58 kB / 457.9 MB, free: 404 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.829e-06/0.09155, allocations: 4 kB / 457.9 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-06/0.09155, allocations: 3.938 kB / 457.9 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-06/0.09155, allocations: 192 / 457.9 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.063e-05/0.0916, allocations: 15.98 kB / 457.9 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-06/0.0916, allocations: 4 kB / 457.9 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.604e-05/0.09165, allocations: 0 / 457.9 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-06/0.09165, allocations: 0 / 457.9 MB, free: 376 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 4.429e-05/0.09169, allocations: 188.2 kB / 458.1 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.09172, allocations: 19.83 kB / 458.1 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.09187, allocations: 86.62 kB / 458.2 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.09188, allocations: 0 / 458.2 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.09188, allocations: 256 / 458.2 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.09188, allocations: 0 / 458.2 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000404/0.09229, allocations: 326.4 kB / 458.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.09229, allocations: 7.938 kB / 458.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-05/0.09233, allocations: 4 kB / 458.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.09234, allocations: 4 kB / 458.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.09235, allocations: 3.984 kB / 458.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.09235, allocations: 0 / 458.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.09235, allocations: 0 / 458.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.09255, allocations: 184.3 kB / 458.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.079e-05/0.09259, allocations: 15.91 kB / 458.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.09261, allocations: 3.938 kB / 458.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.308e-05/0.0927, allocations: 7.984 kB / 458.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.09273, allocations: 3.938 kB / 458.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.09273, allocations: 4 kB / 458.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.09285, allocations: 144 kB / 458.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.09285, allocations: 0 / 458.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003045/0.09316, allocations: 32 kB / 458.9 MB, free: 15.26 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.0005351/0.09369, allocations: 0.7054 MB / 459.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002093/0.0939, allocations: 67.89 kB / 459.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.09391, allocations: 4 kB / 459.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.176e-05/0.09396, allocations: 23.88 kB / 459.7 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.000293/0.09425, allocations: 11.98 kB / 459.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.09615, allocations: 1.672 MB / 461.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.09649, allocations: 0.7002 MB / 462.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.208e-05/0.09653, allocations: 8.703 kB / 462.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.691e-05/0.09659, allocations: 35.41 kB / 462.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.09659, allocations: 0 / 462.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02092/0.1175, allocations: 2.669 MB / 464.8 MB, free: 9.176 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/10.9, allocations: 12.22 kB / 464.9 MB, free: 9.164 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 os._exit(0), Time elapsed: 13.375524341943674] Failed to read output from testmodel.py, exit status != 0: 11.057733039022423 11.083587839 10.990689782 Calling exit ...