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.0007311/0.0007311, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008242/0.0008242, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8945/0.8945, allocations: 177.2 MB / 202.8 MB, free: 5.746 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.008223/0.008223, allocations: 1.98 MB / 261.2 MB, free: 11.28 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.442e-06/1.442e-06, allocations: 3.938 kB / 384.6 MB, free: 11.96 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145e-05/1.289e-05, allocations: 10.22 kB / 384.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.005969/0.005981, allocations: 6.992 MB / 391.6 MB, free: 4.926 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000247/0.006228, allocations: 490.2 kB / 392.1 MB, free: 4.445 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.864e-05/0.006257, allocations: 0 / 392.1 MB, free: 4.445 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.006428, allocations: 55.66 kB / 392.1 MB, free: 4.391 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 1.881e-05/0.006447, allocations: 27.78 kB / 392.2 MB, free: 4.363 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001311/0.006578, allocations: 23.78 kB / 392.2 MB, free: 4.34 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.36e-05/0.006641, allocations: 39.67 kB / 392.2 MB, free: 4.301 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.962e-05/0.006681, allocations: 7.984 kB / 392.2 MB, free: 4.293 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.095e-05/0.006722, allocations: 11.98 kB / 392.3 MB, free: 4.281 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.392e-05/0.006766, allocations: 11.94 kB / 392.3 MB, free: 4.27 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000481/0.007247, allocations: 0 / 392.3 MB, free: 4.27 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002362/0.007483, allocations: 31.94 kB / 392.3 MB, free: 4.238 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.007501, allocations: 7.938 kB / 392.3 MB, free: 4.23 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.007531, allocations: 8 kB / 392.3 MB, free: 4.223 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.00768, allocations: 47.88 kB / 392.4 MB, free: 4.176 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.007684, allocations: 7.938 kB / 392.4 MB, free: 4.168 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.007686, allocations: 0 / 392.4 MB, free: 4.168 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.007691, allocations: 0 / 392.4 MB, free: 4.168 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.00028/0.007971, allocations: 262.2 kB / 392.6 MB, free: 3.883 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.008012, allocations: 12.03 kB / 392.6 MB, free: 3.871 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.92e-05/0.008041, allocations: 38.73 kB / 392.7 MB, free: 3.824 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.008065, allocations: 0.9375 kB / 392.7 MB, free: 3.824 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.948e-05/0.008125, allocations: 105.8 kB / 392.8 MB, free: 3.695 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-06/0.008134, allocations: 384 / 392.8 MB, free: 3.695 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-06/0.008141, allocations: 4.375 kB / 392.8 MB, free: 3.691 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.965e-05/0.00824, allocations: 58.25 kB / 392.8 MB, free: 3.629 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.008247, allocations: 192 / 392.8 MB, free: 3.629 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.008255, allocations: 7.875 kB / 392.8 MB, free: 3.621 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.008261, allocations: 0 / 392.8 MB, free: 3.621 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.82e-05/0.008289, allocations: 27.98 kB / 392.9 MB, free: 3.594 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001119/0.008401, allocations: 144.6 kB / 393 MB, free: 3.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.644e-05/0.008447, allocations: 38.56 kB / 393.1 MB, free: 3.363 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.322e-05/0.00847, allocations: 32.88 kB / 393.1 MB, free: 3.328 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.008493, allocations: 0 / 393.1 MB, free: 3.328 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.008511, allocations: 34.56 kB / 393.1 MB, free: 3.285 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 7.22e-07/0.008512, allocations: 4 kB / 393.1 MB, free: 3.281 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001632/0.008675, allocations: 129.8 kB / 393.2 MB, free: 3.148 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.008704, allocations: 51.41 kB / 393.3 MB, free: 3.086 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.514e-05/0.008729, allocations: 101.8 kB / 393.4 MB, free: 2.977 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.295e-06/0.008738, allocations: 25.7 kB / 393.4 MB, free: 2.945 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.971e-05/0.008757, allocations: 80.38 kB / 393.5 MB, free: 2.863 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.008799, allocations: 39.61 kB / 393.5 MB, free: 2.824 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.008826, allocations: 21.7 kB / 393.6 MB, free: 2.797 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.509e-05/0.008901, allocations: 318.8 kB / 393.9 MB, free: 2.477 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.51e-05/0.008926, allocations: 23.98 kB / 393.9 MB, free: 2.453 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.818e-05/0.008945, allocations: 31.66 kB / 393.9 MB, free: 2.426 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.705e-05/0.009002, allocations: 68.77 kB / 394 MB, free: 2.355 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.009004, allocations: 0 / 394 MB, free: 2.355 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 7.938e-05/0.009083, allocations: 89.64 kB / 394.1 MB, free: 2.262 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.009096, allocations: 7.594 kB / 394.1 MB, free: 2.258 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.009103, allocations: 3.938 kB / 394.1 MB, free: 2.254 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.009114, allocations: 4 kB / 394.1 MB, free: 2.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.754e-06/0.009116, allocations: 3.984 kB / 394.1 MB, free: 2.246 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.00912, allocations: 0 / 394.1 MB, free: 2.246 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.3e-05/0.009143, allocations: 7.875 kB / 394.1 MB, free: 2.238 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.009148, allocations: 4 kB / 394.1 MB, free: 2.234 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.689e-05/0.009205, allocations: 113.9 kB / 394.2 MB, free: 2.113 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.66e-06/0.009211, allocations: 3.953 kB / 394.2 MB, free: 2.109 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.009245, allocations: 11.91 kB / 394.2 MB, free: 2.094 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.009249, allocations: 4 kB / 394.2 MB, free: 2.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.009254, allocations: 3.984 kB / 394.2 MB, free: 2.086 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.009256, allocations: 0 / 394.2 MB, free: 2.086 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.017e-05/0.009326, allocations: 144.7 kB / 394.4 MB, free: 1.902 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.009328, allocations: 0 / 394.4 MB, free: 1.902 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-07/0.009328, allocations: 0 / 394.4 MB, free: 1.902 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.009329, allocations: 0 / 394.4 MB, free: 1.902 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.009335, allocations: 7.938 kB / 394.4 MB, free: 1.895 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.009337, allocations: 3.938 kB / 394.4 MB, free: 1.891 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.009338, allocations: 0 / 394.4 MB, free: 1.891 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.051e-05/0.009418, allocations: 121.1 kB / 394.5 MB, free: 1.754 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-06/0.009428, allocations: 7.891 kB / 394.5 MB, free: 1.746 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-06/0.009438, allocations: 3.938 kB / 394.5 MB, free: 1.742 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.271e-05/0.00945, allocations: 0 / 394.5 MB, free: 1.742 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.167e-05/0.009462, allocations: 7.984 kB / 394.5 MB, free: 1.734 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-06/0.009463, allocations: 0 / 394.5 MB, free: 1.734 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.752e-05/0.009481, allocations: 75.28 kB / 394.6 MB, free: 1.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009481, allocations: 0 / 394.6 MB, free: 1.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001311/0.009612, allocations: 12.03 kB / 394.6 MB, free: 1.648 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.0004105/0.01002, allocations: 0.6766 MB / 395.3 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.01012, allocations: 71.95 kB / 395.4 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01012, allocations: 0 / 395.4 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.619e-05/0.01014, allocations: 24 kB / 395.4 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.0104, allocations: 31.95 kB / 395.4 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003358/0.01074, allocations: 214.2 kB / 395.6 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.004e-05/0.01078, allocations: 67.34 kB / 395.7 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.668e-05/0.01079, allocations: 3.938 kB / 395.7 MB, free: 500 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.309e-05/0.01082, allocations: 20.48 kB / 395.7 MB, free: 480 kB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01082, allocations: 0 / 395.7 MB, free: 480 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01499/0.0258, allocations: 3.243 MB / 399 MB, free: 13.37 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.566/6.592, allocations: 2.656 kB / 399 MB, free: 13.37 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 & /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: 8.68104998394847] Failed to read output from testmodel.py, exit status != 0: 6.922184504568577 7.07518071 6.921623698 Calling exit ...