Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TILMedia_TILMedia.Testers.TestSolid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.005639/0.005639, allocations: 1.446 MB / 20.54 MB, free: 4.008 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.5291/0.5291, allocations: 102.5 MB / 126.5 MB, free: 13.04 MB / 122.8 MB " [Timeout remaining time 179] 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.0007461/0.0007461, allocations: 83.33 kB / 158.3 MB, free: 13.41 MB / 154.8 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.0009129/0.0009129, allocations: 159.5 kB / 190.1 MB, free: 31.34 MB / 170.8 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.8505/0.8505, allocations: 177.1 MB / 399 MB, free: 7.555 MB / 314.8 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/package.mo): time 0.06277/0.06277, allocations: 18.23 MB / 0.4905 GB, free: 0.6484 MB / 410.8 MB " [Timeout remaining time 180] Using package TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/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) Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo) Using package SMArtInt with version 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(TILMedia.Testers.TestSolid,fileNamePrefix="TILMedia_TILMedia_Testers_TestSolid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia.Testers.TestSolid,fileNamePrefix="TILMedia_TILMedia_Testers_TestSolid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.6825 GB, free: 2.785 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.178e-05, allocations: 2.281 kB / 0.6825 GB, free: 2.781 MB / 490.8 MB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestSolid): time 0.001906/0.001928, allocations: 1.401 MB / 0.6839 GB, free: 1.371 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.000319/0.002247, allocations: 171.4 kB / 0.684 GB, free: 1.203 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.82e-05/0.002275, allocations: 0 / 0.684 GB, free: 1.203 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 1.746e-05/0.002293, allocations: 0 / 0.684 GB, free: 1.203 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 7.555e-05/0.002368, allocations: 23.78 kB / 0.6841 GB, free: 1.18 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.002658, allocations: 59.88 kB / 0.6841 GB, free: 1.121 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 7.809e-05/0.002737, allocations: 47.67 kB / 0.6842 GB, free: 1.074 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.611e-05/0.002773, allocations: 4 kB / 0.6842 GB, free: 1.07 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.41e-05/0.002837, allocations: 23.97 kB / 0.6842 GB, free: 1.047 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.822e-05/0.002875, allocations: 7.938 kB / 0.6842 GB, free: 1.039 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.002889, allocations: 4 kB / 0.6842 GB, free: 1.035 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.003023, allocations: 83.78 kB / 0.6843 GB, free: 0.9531 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.003038, allocations: 4 kB / 0.6843 GB, free: 0.9492 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 2.055e-05/0.003058, allocations: 15.94 kB / 0.6843 GB, free: 0.9336 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.003211, allocations: 87.81 kB / 0.6844 GB, free: 0.8477 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.003215, allocations: 4 kB / 0.6844 GB, free: 0.8438 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.553e-06/0.003217, allocations: 0 / 0.6844 GB, free: 0.8438 MB / 490.8 MB Notification: Performance of Transformations before backend: time 4.319e-06/0.003221, allocations: 3.938 kB / 0.6844 GB, free: 0.8398 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000326/0.003547, allocations: 278.1 kB / 0.6847 GB, free: 0.5352 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.003587, allocations: 8.031 kB / 0.6847 GB, free: 0.5273 MB / 490.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.044e-05/0.003618, allocations: 38.73 kB / 0.6847 GB, free: 492 kB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.224e-05/0.00364, allocations: 4.891 kB / 0.6847 GB, free: 488 kB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.922e-05/0.003709, allocations: 117.7 kB / 0.6848 GB, free: 344 kB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.003718, allocations: 4.375 kB / 0.6848 GB, free: 340 kB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.003726, allocations: 4.375 kB / 0.6848 GB, free: 336 kB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.607e-05/0.003823, allocations: 46.25 kB / 0.6849 GB, free: 284 kB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.003829, allocations: 192 / 0.6849 GB, free: 284 kB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.003837, allocations: 384 / 0.6849 GB, free: 284 kB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.003843, allocations: 8.125 kB / 0.6849 GB, free: 276 kB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.288e-05/0.003886, allocations: 19.97 kB / 0.6849 GB, free: 256 kB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.004208, allocations: 235.8 kB / 0.6851 GB, free: 15.98 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 7.269e-05/0.004281, allocations: 38.56 kB / 0.6852 GB, free: 15.93 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.967e-05/0.0043, allocations: 8.859 kB / 0.6852 GB, free: 15.92 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002506/0.004551, allocations: 43.95 kB / 0.6852 GB, free: 15.88 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.004572, allocations: 34.56 kB / 0.6852 GB, free: 15.83 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=3): time 2.445e-06/0.004574, allocations: 3.984 kB / 0.6853 GB, free: 15.83 MB / 0.4949 GB Notification: Performance of matching and sorting (n=3): time 0.0001373/0.004711, allocations: 49.62 kB / 0.6853 GB, free: 15.77 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.00474, allocations: 55.34 kB / 0.6854 GB, free: 15.71 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.983e-05/0.00479, allocations: 105.8 kB / 0.6855 GB, free: 15.59 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.0048, allocations: 25.7 kB / 0.6855 GB, free: 15.56 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 2.361e-05/0.004823, allocations: 84.09 kB / 0.6856 GB, free: 15.48 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.004839, allocations: 11.95 kB / 0.6856 GB, free: 15.46 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/0.004863, allocations: 13.67 kB / 0.6856 GB, free: 15.45 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 7.076e-05/0.004934, allocations: 322.8 kB / 0.6859 GB, free: 15.12 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.043e-05/0.004945, allocations: 3.984 kB / 0.6859 GB, free: 15.12 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.096e-06/0.004953, allocations: 4 kB / 0.6859 GB, free: 15.11 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.497e-05/0.004978, allocations: 20.8 kB / 0.6859 GB, free: 15.09 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.00498, allocations: 0 / 0.6859 GB, free: 15.09 MB / 0.4949 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.727e-05/0.005027, allocations: 45.62 kB / 0.686 GB, free: 15.04 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.005038, allocations: 11.94 kB / 0.686 GB, free: 15.03 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.005043, allocations: 0 / 0.686 GB, free: 15.03 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.005054, allocations: 0 / 0.686 GB, free: 15.03 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.676e-05/0.0051, allocations: 4 kB / 0.686 GB, free: 15.02 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.005105, allocations: 4 kB / 0.686 GB, free: 15.02 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.224e-05/0.005117, allocations: 0 / 0.686 GB, free: 15.02 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.005121, allocations: 0 / 0.686 GB, free: 15.02 MB / 0.4949 GB 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 (3): * Single equations (assignments): 3 * 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 5.265e-05/0.005173, allocations: 117.8 kB / 0.6861 GB, free: 14.89 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.005186, allocations: 7.938 kB / 0.6861 GB, free: 14.89 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.334e-05/0.00527, allocations: 53.61 kB / 0.6862 GB, free: 14.82 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.005272, allocations: 0 / 0.6862 GB, free: 14.82 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.005276, allocations: 0 / 0.6862 GB, free: 14.82 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.005279, allocations: 4 kB / 0.6862 GB, free: 14.82 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.005385, allocations: 140.6 kB / 0.6863 GB, free: 14.64 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.005386, allocations: 0 / 0.6863 GB, free: 14.64 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.748e-05/0.005404, allocations: 12.25 kB / 0.6863 GB, free: 14.63 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.005405, allocations: 0 / 0.6863 GB, free: 14.63 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.005411, allocations: 4 kB / 0.6863 GB, free: 14.62 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.005413, allocations: 3.984 kB / 0.6863 GB, free: 14.62 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.005415, allocations: 0 / 0.6863 GB, free: 14.62 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.948e-05/0.005494, allocations: 143.4 kB / 0.6864 GB, free: 14.46 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 2.501e-05/0.005519, allocations: 8 kB / 0.6865 GB, free: 14.46 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.226e-06/0.005527, allocations: 0 / 0.6865 GB, free: 14.46 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.532e-05/0.005553, allocations: 0 / 0.6865 GB, free: 14.46 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.005565, allocations: 8.406 kB / 0.6865 GB, free: 14.45 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.005567, allocations: 0 / 0.6865 GB, free: 14.45 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 2.639e-05/0.005593, allocations: 87.28 kB / 0.6865 GB, free: 14.36 MB / 0.4949 GB Notification: Performance of sort global known variables: time 5e-08/0.005594, allocations: 0 / 0.6865 GB, free: 14.36 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.00018/0.005774, allocations: 23.94 kB / 0.6866 GB, free: 14.34 MB / 0.4949 GB 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 (3): * Single equations (assignments): 3 * 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.0003296/0.006103, allocations: 0.7084 MB / 0.6873 GB, free: 13.6 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 6.64e-05/0.00617, allocations: 15.92 kB / 0.6873 GB, free: 13.59 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.006171, allocations: 4 kB / 0.6873 GB, free: 13.58 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 7.143e-06/0.006178, allocations: 8 kB / 0.6873 GB, free: 13.57 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.006342, allocations: 4 kB / 0.6873 GB, free: 13.57 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/0.006691, allocations: 170.3 kB / 0.6875 GB, free: 13.36 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.459e-05/0.006736, allocations: 63.34 kB / 0.6875 GB, free: 13.28 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 1.951e-05/0.006755, allocations: 0 / 0.6875 GB, free: 13.28 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.668e-05/0.006782, allocations: 20.48 kB / 0.6875 GB, free: 13.26 MB / 0.4949 GB Notification: Performance of SimCode: time 4.71e-07/0.006783, allocations: 4 kB / 0.6875 GB, free: 13.26 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0124/0.01918, allocations: 2.049 MB / 0.6895 GB, free: 11.34 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.331/6.35, allocations: 4.922 kB / 0.6895 GB, free: 11.34 MB / 0.4949 GB " [Timeout remaining time 654] (rm -f TILMedia_TILMedia.Testers.TestSolid.pipe ; mkfifo TILMedia_TILMedia.Testers.TestSolid.pipe ; head -c 1048576 < TILMedia_TILMedia.Testers.TestSolid.pipe >> ../files/TILMedia_TILMedia.Testers.TestSolid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_TILMedia_TILMedia_Testers_TestSolid_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 TILMedia_TILMedia_Testers_TestSolid.fmu > TILMedia_TILMedia.Testers.TestSolid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.812950608320534] Failed to read output from testmodel.py, exit status != 0: 6.426124852150679 6.433679666 6.428827094 Calling exit ...