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.01168/0.01168, allocations: 1.749 MB / 21.38 MB, free: 0.5625 MB / 14.72 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.8323/0.8323, allocations: 130.8 MB / 155.6 MB, free: 4.352 MB / 126.1 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.001203/0.001203, allocations: 105.4 kB / 187.3 MB, free: 2.238 MB / 142.1 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.001445/0.001445, allocations: 211.3 kB / 219.2 MB, free: 2.375 MB / 174.1 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 1.421/1.421, allocations: 230.6 MB / 481.5 MB, free: 15.79 MB / 334.1 MB " [Timeout remaining time 178] 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.1105/0.1105, allocations: 25.54 MB / 0.5782 GB, free: 2.367 MB / 430.1 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.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(TILMedia.Testers.TestSolid,fileNamePrefix="TILMedia_TILMedia_Testers_TestSolid",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia.Testers.TestSolid,fileNamePrefix="TILMedia_TILMedia_Testers_TestSolid",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: SMArtInt requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ClaRa requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: TILMedia requested package Modelica of version 4.0.0. Modelica 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.003746/0.003746, allocations: 140.4 kB / 0.7704 GB, free: 8.258 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3752, allocations: 89.25 MB / 0.8575 GB, free: 29.84 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestSolid): time 0.00205/0.3773, allocations: 1.413 MB / 0.8589 GB, free: 28.85 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0003582/0.3776, allocations: 194.2 kB / 0.8591 GB, free: 28.72 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.398e-05/0.3776, allocations: 4 kB / 0.8591 GB, free: 28.71 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 2.005e-05/0.3777, allocations: 1.453 kB / 0.8591 GB, free: 28.71 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 6.305e-05/0.3777, allocations: 12.91 kB / 0.8591 GB, free: 28.71 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.378, allocations: 66.39 kB / 0.8592 GB, free: 28.68 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 6.887e-05/0.378, allocations: 37.73 kB / 0.8592 GB, free: 28.66 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.3781, allocations: 7.656 kB / 0.8592 GB, free: 28.66 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 3.86e-05/0.3781, allocations: 21.73 kB / 0.8592 GB, free: 28.65 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 4.154e-05/0.3782, allocations: 11.69 kB / 0.8592 GB, free: 28.64 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 8.606e-06/0.3782, allocations: 3.125 kB / 0.8592 GB, free: 28.64 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.3783, allocations: 84.11 kB / 0.8593 GB, free: 28.62 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.3783, allocations: 8.547 kB / 0.8593 GB, free: 28.61 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.3783, allocations: 17.86 kB / 0.8593 GB, free: 28.6 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.3785, allocations: 77.12 kB / 0.8594 GB, free: 28.58 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3785, allocations: 4 kB / 0.8594 GB, free: 28.57 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3785, allocations: 4.125 kB / 0.8594 GB, free: 28.57 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.3785, allocations: 0 / 0.8594 GB, free: 28.57 MB / 0.5763 GB 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.0002832/0.3788, allocations: 276.6 kB / 0.8597 GB, free: 28.29 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.3788, allocations: 9.531 kB / 0.8597 GB, free: 28.29 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.129e-05/0.3788, allocations: 4.188 kB / 0.8597 GB, free: 28.29 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.71e-05/0.3788, allocations: 34.75 kB / 0.8597 GB, free: 28.25 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.281e-05/0.3789, allocations: 9.047 kB / 0.8597 GB, free: 28.24 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.345e-05/0.3789, allocations: 110.4 kB / 0.8599 GB, free: 28.11 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.3789, allocations: 384 / 0.8599 GB, free: 28.11 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.3789, allocations: 3.562 kB / 0.8599 GB, free: 28.11 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.76e-05/0.379, allocations: 59.05 kB / 0.8599 GB, free: 28.06 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.379, allocations: 0 / 0.8599 GB, free: 28.06 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.3791, allocations: 0.6094 kB / 0.8599 GB, free: 28.06 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3791, allocations: 0 / 0.8599 GB, free: 28.06 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.988e-05/0.3791, allocations: 20.06 kB / 0.8599 GB, free: 28.05 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002715/0.3794, allocations: 328.6 kB / 0.8602 GB, free: 27.7 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 7.11e-05/0.3794, allocations: 34.7 kB / 0.8603 GB, free: 27.67 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.3795, allocations: 9.109 kB / 0.8603 GB, free: 27.66 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002418/0.3797, allocations: 32.77 kB / 0.8603 GB, free: 27.66 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.3797, allocations: 35.08 kB / 0.8604 GB, free: 27.62 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.3797, allocations: 0 / 0.8604 GB, free: 27.62 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3): time 0.0001697/0.3799, allocations: 54.08 kB / 0.8604 GB, free: 27.57 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.3799, allocations: 55.86 kB / 0.8605 GB, free: 27.51 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.579e-05/0.38, allocations: 107.6 kB / 0.8606 GB, free: 27.4 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 8.335e-06/0.38, allocations: 29.02 kB / 0.8606 GB, free: 27.37 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 2.131e-05/0.38, allocations: 84.89 kB / 0.8607 GB, free: 27.29 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.38, allocations: 4.609 kB / 0.8607 GB, free: 27.28 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.38, allocations: 30.23 kB / 0.8607 GB, free: 27.25 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.311e-05/0.3801, allocations: 318.7 kB / 0.861 GB, free: 26.93 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.28e-05/0.3801, allocations: 4.609 kB / 0.861 GB, free: 26.93 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.009e-05/0.3801, allocations: 4.406 kB / 0.861 GB, free: 26.93 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.423e-05/0.3801, allocations: 15.58 kB / 0.861 GB, free: 26.92 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3801, allocations: 3 kB / 0.861 GB, free: 26.92 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.122e-05/0.3802, allocations: 42.47 kB / 0.8611 GB, free: 26.88 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.3802, allocations: 7.719 kB / 0.8611 GB, free: 26.88 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3802, allocations: 0 / 0.8611 GB, free: 26.88 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3802, allocations: 7.875 kB / 0.8611 GB, free: 26.88 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.31e-05/0.3803, allocations: 3.906 kB / 0.8611 GB, free: 26.88 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.3803, allocations: 0 / 0.8611 GB, free: 26.88 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.552e-05/0.3803, allocations: 0 / 0.8611 GB, free: 26.88 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.3803, allocations: 3.5 kB / 0.8611 GB, free: 26.88 MB / 0.5763 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 3.795e-05/0.3803, allocations: 118.3 kB / 0.8612 GB, free: 26.75 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.3804, allocations: 2.906 kB / 0.8612 GB, free: 26.75 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.273e-05/0.3804, allocations: 52.42 kB / 0.8613 GB, free: 26.7 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3804, allocations: 3.031 kB / 0.8613 GB, free: 26.7 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.3804, allocations: 4 kB / 0.8613 GB, free: 26.7 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3804, allocations: 0.7969 kB / 0.8613 GB, free: 26.7 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.3806, allocations: 140 kB / 0.8614 GB, free: 26.53 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3806, allocations: 3.938 kB / 0.8614 GB, free: 26.52 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.192e-05/0.3806, allocations: 3.922 kB / 0.8614 GB, free: 26.52 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3806, allocations: 3.922 kB / 0.8614 GB, free: 26.52 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.3806, allocations: 0 / 0.8614 GB, free: 26.52 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3806, allocations: 0 / 0.8614 GB, free: 26.52 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3806, allocations: 0.5625 kB / 0.8614 GB, free: 26.52 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.754e-05/0.3807, allocations: 144.4 kB / 0.8615 GB, free: 26.38 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 2.489e-05/0.3807, allocations: 8.906 kB / 0.8616 GB, free: 26.38 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.3807, allocations: 0.6094 kB / 0.8616 GB, free: 26.38 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.383e-05/0.3807, allocations: 0 / 0.8616 GB, free: 26.38 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.3807, allocations: 4.094 kB / 0.8616 GB, free: 26.38 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-06/0.3807, allocations: 0.9375 kB / 0.8616 GB, free: 26.38 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 2.461e-05/0.3808, allocations: 91.23 kB / 0.8616 GB, free: 26.3 MB / 0.5763 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3808, allocations: 0 / 0.8616 GB, free: 26.3 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002369/0.381, allocations: 27.66 kB / 0.8617 GB, free: 26.29 MB / 0.5763 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.0002651/0.3813, allocations: 0.7004 MB / 0.8624 GB, free: 25.61 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 7.755e-05/0.3814, allocations: 17.05 kB / 0.8624 GB, free: 25.6 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.3814, allocations: 0 / 0.8624 GB, free: 25.6 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 1.311e-05/0.3814, allocations: 18.83 kB / 0.8624 GB, free: 25.59 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.3816, allocations: 0.7969 kB / 0.8624 GB, free: 25.59 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/0.3819, allocations: 180.7 kB / 0.8626 GB, free: 25.42 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.369e-05/0.382, allocations: 0.6834 MB / 0.8632 GB, free: 24.72 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 2.058e-05/0.382, allocations: 4.797 kB / 0.8632 GB, free: 24.72 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.112e-05/0.3821, allocations: 11.45 kB / 0.8633 GB, free: 24.71 MB / 0.5763 GB Notification: Performance of SimCode: time 2.81e-07/0.3821, allocations: 3.938 kB / 0.8633 GB, free: 24.71 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01863/0.4007, allocations: 1.555 MB / 0.8648 GB, free: 24.3 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.78, allocations: 6.312 kB / 0.8648 GB, free: 24.3 MB / 0.5763 GB " [Timeout remaining time 649] (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.0004 --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: 14.62032535392791] Failed to read output from testmodel.py, exit status != 0: 10.92726169503294 10.940399927 10.559335107 Calling exit ...