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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 110.1 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01414/0.01414, allocations: 2.787 MB / 305.5 MB, free: 6.992 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001934/0.001934, allocations: 67.89 kB / 425 MB, free: 22.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.116, allocations: 52.96 MB / 477.9 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.01103/0.127, allocations: 7.554 MB / 485.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005819/0.1276, allocations: 0.5681 MB / 486.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.158e-05/0.1276, allocations: 4 kB / 486.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002211/0.1279, allocations: 59.67 kB / 486.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.452e-05/0.1279, allocations: 15.86 kB / 486.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.128, allocations: 31.77 kB / 486.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.964e-05/0.1281, allocations: 43.66 kB / 486.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.487e-05/0.1282, allocations: 0 / 486.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.411e-05/0.1282, allocations: 8 kB / 486.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.221e-05/0.1283, allocations: 11.88 kB / 486.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.1283, allocations: 8 kB / 486.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.1285, allocations: 39.94 kB / 486.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.1285, allocations: 0 / 486.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.1285, allocations: 15.88 kB / 486.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.1287, allocations: 51.81 kB / 486.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1287, allocations: 0 / 486.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1287, allocations: 0 / 486.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.1287, allocations: 0 / 486.3 MB, free: 8.785 MB / 350.1 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.0004394/0.1291, allocations: 335.4 kB / 486.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.1292, allocations: 8.031 kB / 486.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.588e-05/0.1292, allocations: 42.73 kB / 486.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.469e-05/0.1293, allocations: 8.891 kB / 486.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.1294, allocations: 160.4 kB / 486.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.1294, allocations: 4.375 kB / 486.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-06/0.1294, allocations: 384 / 486.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.1296, allocations: 61.56 kB / 486.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1296, allocations: 0 / 486.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.1296, allocations: 0 / 486.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.1296, allocations: 4 kB / 487 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.469e-05/0.1296, allocations: 19.98 kB / 487 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002078/0.1298, allocations: 177.6 kB / 487.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.076e-05/0.1299, allocations: 42.56 kB / 487.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.977e-05/0.1299, allocations: 28.88 kB / 487.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.13, allocations: 3.938 kB / 487.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.13, allocations: 38.5 kB / 487.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 9.62e-07/0.13, allocations: 3.938 kB / 487.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002409/0.1302, allocations: 123.9 kB / 487.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.1303, allocations: 51.41 kB / 487.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.035e-05/0.1304, allocations: 89.86 kB / 487.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.1304, allocations: 25.7 kB / 487.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.1304, allocations: 80.38 kB / 487.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.96e-05/0.1305, allocations: 55.47 kB / 487.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.1305, allocations: 17.72 kB / 487.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.1307, allocations: 314.8 kB / 488 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.249e-05/0.1307, allocations: 28.03 kB / 488 MB, free: 6.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.745e-05/0.1308, allocations: 23.98 kB / 488.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.877e-05/0.1308, allocations: 65.03 kB / 488.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1308, allocations: 0 / 488.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001229/0.131, allocations: 95.73 kB / 488.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.131, allocations: 8 kB / 488.2 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.131, allocations: 0 / 488.2 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.131, allocations: 0 / 488.2 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.001e-06/0.131, allocations: 0 / 488.2 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.131, allocations: 0 / 488.2 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.573e-05/0.131, allocations: 8.016 kB / 488.2 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.131, allocations: 4 kB / 488.2 MB, free: 6.668 MB / 350.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 (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 8.376e-05/0.1311, allocations: 105.8 kB / 488.3 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-06/0.1311, allocations: 3.938 kB / 488.3 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.513e-05/0.1312, allocations: 12.08 kB / 488.3 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.1312, allocations: 7.984 kB / 488.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1312, allocations: 0 / 488.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1312, allocations: 3.938 kB / 488.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.1314, allocations: 165.6 kB / 488.5 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.1314, allocations: 15.92 kB / 488.5 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.1314, allocations: 0 / 488.5 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.1314, allocations: 0 / 488.5 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.1314, allocations: 0 / 488.5 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1314, allocations: 0 / 488.5 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1314, allocations: 0 / 488.5 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.1315, allocations: 117.1 kB / 488.7 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/0.1316, allocations: 85.05 kB / 488.7 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.1316, allocations: 7.969 kB / 488.7 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.662e-05/0.1316, allocations: 4 kB / 488.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.207e-05/0.1316, allocations: 0 / 488.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-06/0.1316, allocations: 0 / 488.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.855e-05/0.1317, allocations: 79.28 kB / 488.8 MB, free: 5.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1317, allocations: 0 / 488.8 MB, free: 5.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001928/0.1319, allocations: 8 kB / 488.8 MB, free: 5.973 MB / 350.1 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.0007105/0.1326, allocations: 0.6894 MB / 489.5 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.1327, allocations: 56.02 kB / 489.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1327, allocations: 0 / 489.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.887e-05/0.1327, allocations: 27.98 kB / 489.6 MB, free: 5.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.1331, allocations: 23.97 kB / 489.6 MB, free: 5.152 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005418/0.1337, allocations: 235 kB / 489.9 MB, free: 4.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.1341, allocations: 0.6807 MB / 490.5 MB, free: 4.176 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.979e-05/0.1341, allocations: 4 kB / 490.5 MB, free: 4.172 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.1341, allocations: 11.44 kB / 490.6 MB, free: 4.16 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1341, allocations: 0 / 490.6 MB, free: 4.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.1598, allocations: 2.501 MB / 493.1 MB, free: 1.746 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.015/9.175, allocations: 8.719 kB / 493.1 MB, free: 1.738 MB / 350.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_TestMedium_TestSat_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_TestMedium_TestSat.fmu > ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.128332254011184] Failed to read output from testmodel.py, exit status != 0: 9.465255284681916 9.491942606 9.358527498 Calling exit ...