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.00175/0.00175, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002196/0.002196, allocations: 214 kB / 22.25 MB, free: 5.125 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.426/1.426, allocations: 207.6 MB / 233 MB, free: 9.969 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.009673/0.009673, allocations: 1.96 MB / 287.2 MB, free: 3.855 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.002107/0.002107, allocations: 68.88 kB / 401.8 MB, free: 50.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0765/0.07861, allocations: 49.7 MB / 451.5 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.002344/0.08096, allocations: 1.979 MB / 453.5 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006867/0.08164, allocations: 0.5967 MB / 454.1 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.961e-05/0.0817, allocations: 4 kB / 454.1 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.406e-05/0.08175, allocations: 19.84 kB / 454.1 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.08185, allocations: 47.56 kB / 454.1 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.08203, allocations: 27.97 kB / 454.2 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.08218, allocations: 135.3 kB / 454.3 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.08228, allocations: 33.14 kB / 454.3 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.364e-05/0.08235, allocations: 55.73 kB / 454.4 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.217e-05/0.08243, allocations: 47.78 kB / 454.4 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.08245, allocations: 8 kB / 454.4 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.024e-05/0.0825, allocations: 23.98 kB / 454.4 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.08251, allocations: 15.94 kB / 454.5 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.301e-05/0.08256, allocations: 59.67 kB / 454.5 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.08269, allocations: 119.5 kB / 454.6 MB, free: 3.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.08269, allocations: 4 kB / 454.6 MB, free: 3.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.0827, allocations: 0 / 454.6 MB, free: 3.066 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.0827, allocations: 0 / 454.6 MB, free: 3.066 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.0004357/0.08314, allocations: 349.6 kB / 455 MB, free: 2.695 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.08317, allocations: 11.98 kB / 455 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.074e-05/0.0832, allocations: 50.67 kB / 455 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.08323, allocations: 12.84 kB / 455.1 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.08336, allocations: 142.2 kB / 455.2 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.08337, allocations: 4.375 kB / 455.2 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.08338, allocations: 8.375 kB / 455.2 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.08354, allocations: 93.72 kB / 455.3 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.08355, allocations: 0 / 455.3 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.08356, allocations: 4 kB / 455.3 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.08357, allocations: 0 / 455.3 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.08368, allocations: 59.97 kB / 455.4 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.0841, allocations: 355.6 kB / 455.7 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003889/0.08449, allocations: 58.55 kB / 455.8 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.815e-05/0.08454, allocations: 20.94 kB / 455.8 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.08456, allocations: 4 kB / 455.8 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.172e-05/0.08457, allocations: 34.56 kB / 455.8 MB, free: 1.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.08457, allocations: 0 / 455.8 MB, free: 1.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002206/0.08479, allocations: 101.4 kB / 455.9 MB, free: 1.645 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/0.08481, allocations: 51.41 kB / 456 MB, free: 1.582 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.08492, allocations: 178.8 kB / 456.2 MB, free: 1.395 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.806e-06/0.08493, allocations: 33.69 kB / 456.2 MB, free: 1.355 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.936e-05/0.08497, allocations: 119.9 kB / 456.3 MB, free: 1.234 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.646e-06/0.08498, allocations: 7.953 kB / 456.3 MB, free: 1.227 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/0.08501, allocations: 25.67 kB / 456.3 MB, free: 1.195 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.393e-05/0.08505, allocations: 318.8 kB / 456.6 MB, free: 0.875 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.406e-05/0.08511, allocations: 28.84 kB / 456.7 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.046e-05/0.08515, allocations: 19.98 kB / 456.7 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.763e-05/0.08523, allocations: 52.78 kB / 456.7 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.08524, allocations: 0 / 456.7 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001249/0.08536, allocations: 81.77 kB / 456.8 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.08537, allocations: 7.938 kB / 456.8 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.08538, allocations: 4 kB / 456.8 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.08539, allocations: 4.172 kB / 456.8 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/0.08546, allocations: 8 kB / 456.8 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.08546, allocations: 3.938 kB / 456.9 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.832e-05/0.08552, allocations: 15.89 kB / 456.9 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.08553, allocations: 11.97 kB / 456.9 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.574e-05/0.08559, allocations: 100.1 kB / 457 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.257e-05/0.08563, allocations: 19.98 kB / 457 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.6e-05/0.08569, allocations: 40.78 kB / 457 MB, free: 476 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.81e-07/0.08569, allocations: 4 kB / 457 MB, free: 472 kB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001058/0.0858, allocations: 73.64 kB / 457.1 MB, free: 392 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.538e-06/0.0858, allocations: 4 kB / 457.1 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-06/0.08581, allocations: 3.984 kB / 457.1 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-06/0.08581, allocations: 11.94 kB / 457.1 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.919e-05/0.08586, allocations: 8 kB / 457.1 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-06/0.08586, allocations: 0 / 457.1 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.771e-05/0.08591, allocations: 8 kB / 457.1 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-06/0.08591, allocations: 0 / 457.1 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 4.274e-05/0.08595, allocations: 184.2 kB / 457.3 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.08598, allocations: 19.84 kB / 457.3 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.08612, allocations: 74.7 kB / 457.4 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.08612, allocations: 4 kB / 457.4 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.08613, allocations: 4 kB / 457.4 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.08613, allocations: 256 / 457.4 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003961/0.08653, allocations: 322.4 kB / 457.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.08653, allocations: 4 kB / 457.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.165e-05/0.08659, allocations: 11.98 kB / 457.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.08659, allocations: 0 / 457.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.0866, allocations: 0 / 457.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.0866, allocations: 4.031 kB / 457.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.0866, allocations: 4 kB / 457.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.08681, allocations: 180.2 kB / 457.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.08685, allocations: 19.83 kB / 458 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.08687, allocations: 11.94 kB / 458 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.914e-05/0.08695, allocations: 0 / 458 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.08699, allocations: 11.98 kB / 458 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.08699, allocations: 0 / 458 MB, free: 15.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.08711, allocations: 140 kB / 458.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.08711, allocations: 0 / 458.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000293/0.08741, allocations: 39.94 kB / 458.2 MB, free: 15.24 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.0005138/0.08792, allocations: 0.7092 MB / 458.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.08813, allocations: 63.91 kB / 458.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.08813, allocations: 0 / 458.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.746e-05/0.08818, allocations: 19.98 kB / 459 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.08848, allocations: 8 kB / 459 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.09045, allocations: 1.68 MB / 460.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.09079, allocations: 0.7041 MB / 461.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.945e-05/0.09083, allocations: 8.703 kB / 461.4 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.377e-05/0.09089, allocations: 31.42 kB / 461.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.09089, allocations: 0 / 461.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02819/0.1191, allocations: 2.637 MB / 464 MB, free: 9.191 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.47, allocations: 224 / 464 MB, free: 9.191 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 & python3 -m fmpy simulate --output-file MEV_MEV.Test.TestSupplyValve_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 MEV_MEV_Test_TestSupplyValve.fmu > MEV_MEV.Test.TestSupplyValve.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.106630168000265] Failed to read output from testmodel.py, exit status != 0: 10.572072186001606 10.602315417 10.51432825 Calling exit ...