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.001651/0.001651, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001488/0.001488, allocations: 223.9 kB / 23.03 MB, free: 4.945 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.373/1.373, allocations: 207.7 MB / 233.9 MB, free: 9.785 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.008923/0.008923, allocations: 1.958 MB / 288.1 MB, free: 3.688 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.002112/0.002112, allocations: 66.75 kB / 402.5 MB, free: 50.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07371/0.07582, allocations: 49.7 MB / 452.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.002396/0.07822, allocations: 1.887 MB / 454.1 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000784/0.079, allocations: 0.5657 MB / 454.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.882e-05/0.07906, allocations: 0 / 454.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.612e-05/0.07912, allocations: 15.84 kB / 454.7 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.07924, allocations: 47.58 kB / 454.8 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.07944, allocations: 31.95 kB / 454.8 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.0796, allocations: 143.2 kB / 454.9 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.07972, allocations: 21.17 kB / 455 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.964e-05/0.07978, allocations: 55.77 kB / 455 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.441e-05/0.07987, allocations: 51.72 kB / 455.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.07989, allocations: 12 kB / 455.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.516e-05/0.07994, allocations: 20 kB / 455.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.123e-05/0.07996, allocations: 19.92 kB / 455.1 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.296e-05/0.08001, allocations: 43.8 kB / 455.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.08015, allocations: 119.5 kB / 455.3 MB, free: 3.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.08016, allocations: 0 / 455.3 MB, free: 3.059 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.08016, allocations: 0 / 455.3 MB, free: 3.059 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.08016, allocations: 0 / 455.3 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.0004457/0.08061, allocations: 353.7 kB / 455.6 MB, free: 2.684 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.08064, allocations: 23.92 kB / 455.6 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.265e-05/0.08065, allocations: 192 / 455.6 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.23e-05/0.08068, allocations: 38.75 kB / 455.7 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.08071, allocations: 16.83 kB / 455.7 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.08085, allocations: 142.2 kB / 455.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.08085, allocations: 4.375 kB / 455.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.08087, allocations: 8.375 kB / 455.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.08104, allocations: 97.53 kB / 455.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.08105, allocations: 3.938 kB / 455.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.08106, allocations: 0 / 455.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.08107, allocations: 0 / 455.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.08119, allocations: 59.97 kB / 456 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.08161, allocations: 339.6 kB / 456.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004079/0.08202, allocations: 66.48 kB / 456.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.953e-05/0.08207, allocations: 20.94 kB / 456.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.08209, allocations: 0 / 456.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.162e-05/0.0821, allocations: 34.5 kB / 456.4 MB, free: 1.742 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.0821, allocations: 0 / 456.4 MB, free: 1.742 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.000231/0.08233, allocations: 97.5 kB / 456.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.954e-05/0.08235, allocations: 55.41 kB / 456.6 MB, free: 1.574 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.08246, allocations: 182.8 kB / 456.8 MB, free: 1.383 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.08247, allocations: 25.7 kB / 456.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.08251, allocations: 112 kB / 456.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.047e-05/0.08252, allocations: 15.94 kB / 456.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.08256, allocations: 21.67 kB / 456.9 MB, free: 1.195 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.237e-05/0.0826, allocations: 322.8 kB / 457.3 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.413e-05/0.08266, allocations: 24.84 kB / 457.3 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.304e-05/0.0827, allocations: 23.98 kB / 457.3 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.692e-05/0.08279, allocations: 48.78 kB / 457.4 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.08279, allocations: 0 / 457.4 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001294/0.08292, allocations: 85.83 kB / 457.4 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.08293, allocations: 7.938 kB / 457.4 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.08293, allocations: 0 / 457.4 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.08295, allocations: 7.984 kB / 457.5 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.93e-05/0.08302, allocations: 8 kB / 457.5 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.08302, allocations: 0 / 457.5 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.105e-05/0.08308, allocations: 15.89 kB / 457.5 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.08309, allocations: 7.984 kB / 457.5 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.501e-05/0.08315, allocations: 100.1 kB / 457.6 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.287e-05/0.08319, allocations: 19.98 kB / 457.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.562e-05/0.08325, allocations: 40.78 kB / 457.6 MB, free: 480 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.253e-06/0.08325, allocations: 4 kB / 457.6 MB, free: 476 kB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001058/0.08336, allocations: 73.64 kB / 457.7 MB, free: 396 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.719e-06/0.08336, allocations: 4 kB / 457.7 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-06/0.08337, allocations: 11.92 kB / 457.7 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-06/0.08337, allocations: 0 / 457.7 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.945e-05/0.08342, allocations: 12 kB / 457.7 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-06/0.08342, allocations: 0 / 457.7 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.663e-05/0.08347, allocations: 0 / 457.7 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-06/0.08347, allocations: 7.938 kB / 457.8 MB, free: 360 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.305e-05/0.08351, allocations: 192.1 kB / 457.9 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.08354, allocations: 20.03 kB / 458 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.08369, allocations: 74.69 kB / 458 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.08369, allocations: 8 kB / 458 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.0837, allocations: 0 / 458 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.0837, allocations: 0 / 458 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003986/0.0841, allocations: 318.4 kB / 458.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.0841, allocations: 192 / 458.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.176e-05/0.08415, allocations: 12 kB / 458.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.08415, allocations: 0 / 458.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-06/0.08416, allocations: 0 / 458.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.08416, allocations: 4 kB / 458.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.08416, allocations: 0 / 458.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.08436, allocations: 188.2 kB / 458.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.0844, allocations: 19.89 kB / 458.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.08443, allocations: 3.938 kB / 458.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.358e-05/0.08451, allocations: 4 kB / 458.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.08454, allocations: 3.984 kB / 458.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.08455, allocations: 4 kB / 458.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001411/0.08469, allocations: 144 kB / 458.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.08469, allocations: 0 / 458.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003007/0.08499, allocations: 32 kB / 458.8 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.0005285/0.08552, allocations: 0.7092 MB / 459.5 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002051/0.08572, allocations: 63.91 kB / 459.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.08572, allocations: 4 kB / 459.5 MB, free: 14.44 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.929e-05/0.08577, allocations: 15.98 kB / 459.6 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.0002828/0.08606, allocations: 8 kB / 459.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.08798, allocations: 1.684 MB / 461.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.346e-05/0.08807, allocations: 89.19 kB / 461.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.895e-05/0.08812, allocations: 16.36 kB / 461.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.751e-05/0.08818, allocations: 27.72 kB / 461.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.08818, allocations: 0 / 461.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02094/0.1091, allocations: 2.746 MB / 464.1 MB, free: 9.707 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/10.85, allocations: 4.219 kB / 464.1 MB, free: 9.703 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.322169248014688] Failed to read output from testmodel.py, exit status != 0: 11.003332468913868 11.0278662 10.94331367 Calling exit ...