Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.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.0009166/0.0009166, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.001099/0.001099, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 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.9238/0.9238, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.009409/0.009409, allocations: 1.983 MB / 261.2 MB, free: 11.27 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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(ExternalMedia.Test.TestMedium.TestSat,fileNamePrefix="ExternalMedia_ExternalMedia_Test_TestMedium_TestSat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.TestMedium.TestSat,fileNamePrefix="ExternalMedia_ExternalMedia_Test_TestMedium_TestSat",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 384.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.5e-05/1.64e-05, allocations: 2.281 kB / 384.6 MB, free: 11.94 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.005655/0.005672, allocations: 6.993 MB / 391.6 MB, free: 4.914 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002541/0.005926, allocations: 494.2 kB / 392.1 MB, free: 4.43 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.01e-05/0.005946, allocations: 0 / 392.1 MB, free: 4.43 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.006112, allocations: 47.67 kB / 392.1 MB, free: 4.383 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 1.586e-05/0.006128, allocations: 19.86 kB / 392.2 MB, free: 4.363 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.006255, allocations: 35.75 kB / 392.2 MB, free: 4.328 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.29e-05/0.006318, allocations: 39.67 kB / 392.2 MB, free: 4.289 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.396e-05/0.006352, allocations: 0 / 392.2 MB, free: 4.289 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.926e-05/0.006391, allocations: 15.98 kB / 392.3 MB, free: 4.273 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.907e-05/0.00643, allocations: 7.938 kB / 392.3 MB, free: 4.266 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.006446, allocations: 0 / 392.3 MB, free: 4.266 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.006578, allocations: 43.88 kB / 392.3 MB, free: 4.223 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.00659, allocations: 0 / 392.3 MB, free: 4.223 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.922e-05/0.006609, allocations: 11.94 kB / 392.3 MB, free: 4.211 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.006723, allocations: 51.88 kB / 392.4 MB, free: 4.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.006725, allocations: 0 / 392.4 MB, free: 4.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.006726, allocations: 0 / 392.4 MB, free: 4.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.006729, allocations: 0 / 392.4 MB, free: 4.16 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0002363/0.006965, allocations: 262.2 kB / 392.6 MB, free: 3.875 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.006998, allocations: 8.031 kB / 392.6 MB, free: 3.867 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.759e-05/0.007025, allocations: 42.67 kB / 392.7 MB, free: 3.816 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/0.007053, allocations: 0.9375 kB / 392.7 MB, free: 3.816 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.268e-05/0.007106, allocations: 101.8 kB / 392.8 MB, free: 3.691 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.007116, allocations: 8.375 kB / 392.8 MB, free: 3.684 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-06/0.007122, allocations: 8.312 kB / 392.8 MB, free: 3.676 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.767e-05/0.00721, allocations: 50.25 kB / 392.8 MB, free: 3.621 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.007216, allocations: 192 / 392.8 MB, free: 3.621 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.007223, allocations: 3.938 kB / 392.8 MB, free: 3.617 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.007229, allocations: 3.984 kB / 392.8 MB, free: 3.613 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.684e-05/0.007256, allocations: 27.98 kB / 392.9 MB, free: 3.586 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001099/0.007366, allocations: 148.6 kB / 393 MB, free: 3.398 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.606e-05/0.007412, allocations: 46.56 kB / 393.1 MB, free: 3.344 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.209e-05/0.007434, allocations: 31.95 kB / 393.1 MB, free: 3.312 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.007452, allocations: 0 / 393.1 MB, free: 3.312 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.007468, allocations: 30.56 kB / 393.1 MB, free: 3.273 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 6.52e-07/0.007469, allocations: 4 kB / 393.1 MB, free: 3.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001475/0.007616, allocations: 129.9 kB / 393.3 MB, free: 3.137 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.007643, allocations: 51.41 kB / 393.3 MB, free: 3.074 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.46e-05/0.007667, allocations: 93.8 kB / 393.4 MB, free: 2.973 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.007677, allocations: 29.7 kB / 393.4 MB, free: 2.938 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.973e-05/0.007697, allocations: 84.36 kB / 393.5 MB, free: 2.852 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.007733, allocations: 39.61 kB / 393.5 MB, free: 2.812 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.437e-05/0.007758, allocations: 21.7 kB / 393.6 MB, free: 2.785 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.616e-05/0.007834, allocations: 314.8 kB / 393.9 MB, free: 2.469 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.563e-05/0.007859, allocations: 27.92 kB / 393.9 MB, free: 2.441 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.717e-05/0.007877, allocations: 28.03 kB / 393.9 MB, free: 2.414 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.433e-05/0.007931, allocations: 68.83 kB / 394 MB, free: 2.344 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.007932, allocations: 0 / 394 MB, free: 2.344 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 7.729e-05/0.00801, allocations: 93.27 kB / 394.1 MB, free: 2.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.008021, allocations: 8 kB / 394.1 MB, free: 2.242 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.008028, allocations: 3.938 kB / 394.1 MB, free: 2.238 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.008037, allocations: 0 / 394.1 MB, free: 2.238 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.008038, allocations: 0 / 394.1 MB, free: 2.238 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.008043, allocations: 3.984 kB / 394.1 MB, free: 2.234 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.937e-05/0.008062, allocations: 7.938 kB / 394.1 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.008068, allocations: 4 kB / 394.1 MB, free: 2.223 MB / 314.7 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.149e-05/0.008119, allocations: 121.8 kB / 394.2 MB, free: 2.094 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-06/0.008124, allocations: 7.953 kB / 394.2 MB, free: 2.086 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.661e-05/0.008151, allocations: 7.906 kB / 394.2 MB, free: 2.074 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.008154, allocations: 0 / 394.2 MB, free: 2.074 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.008157, allocations: 0 / 394.2 MB, free: 2.074 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.00816, allocations: 3.984 kB / 394.3 MB, free: 2.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.001e-05/0.00823, allocations: 136.8 kB / 394.4 MB, free: 1.895 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.008231, allocations: 0 / 394.4 MB, free: 1.895 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-07/0.008232, allocations: 0 / 394.4 MB, free: 1.895 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.008232, allocations: 0 / 394.4 MB, free: 1.895 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.008239, allocations: 7.938 kB / 394.4 MB, free: 1.887 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.00824, allocations: 4 kB / 394.4 MB, free: 1.883 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.008241, allocations: 0 / 394.4 MB, free: 1.883 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.521e-05/0.008316, allocations: 117.1 kB / 394.5 MB, free: 1.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.146e-06/0.008324, allocations: 11.89 kB / 394.5 MB, free: 1.738 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-06/0.008332, allocations: 3.938 kB / 394.5 MB, free: 1.734 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.006e-05/0.008342, allocations: 0 / 394.5 MB, free: 1.734 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.116e-05/0.008354, allocations: 3.984 kB / 394.5 MB, free: 1.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.008355, allocations: 0 / 394.5 MB, free: 1.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.113e-05/0.008377, allocations: 79.22 kB / 394.6 MB, free: 1.652 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008377, allocations: 0 / 394.6 MB, free: 1.652 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001259/0.008502, allocations: 16.03 kB / 394.6 MB, free: 1.637 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000346/0.008848, allocations: 0.6733 MB / 395.3 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.573e-05/0.008944, allocations: 67.95 kB / 395.4 MB, free: 0.875 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.008946, allocations: 0 / 395.4 MB, free: 0.875 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.604e-05/0.008962, allocations: 27.94 kB / 395.4 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.009179, allocations: 31.08 kB / 395.4 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003098/0.009489, allocations: 214.2 kB / 395.6 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.64e-05/0.009525, allocations: 67.34 kB / 395.7 MB, free: 496 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.482e-05/0.00954, allocations: 11.97 kB / 395.7 MB, free: 484 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.052e-05/0.00956, allocations: 16.48 kB / 395.7 MB, free: 468 kB / 314.7 MB Notification: Performance of SimCode: time 4.21e-07/0.009561, allocations: 3.938 kB / 395.7 MB, free: 464 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.02604, allocations: 3.235 MB / 399 MB, free: 13.36 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.889/6.915, allocations: 0.6562 kB / 399 MB, free: 13.36 MB / 330.7 MB " [Timeout remaining time 653] (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.pipe >> ../files/ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.sim & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.TestMedium.TestSat_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ExternalMedia_ExternalMedia_Test_TestMedium_TestSat.fmu > ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.089011772535741] Failed to read output from testmodel.py, exit status != 0: 7.239894969388843 7.379191211 7.240274993 Calling exit ...