Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Thermal.Examples.MuscleHeat.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.00102/0.00102, 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.001165/0.001165, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9668/0.9668, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.06758/0.06758, allocations: 12.74 MB / 271.9 MB, free: 488 kB / 250.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/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(Bodylight.Thermal.Examples.MuscleHeat,fileNamePrefix="Bodylight_Bodylight_Thermal_Examples_MuscleHeat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Bodylight.Thermal.Examples.MuscleHeat,fileNamePrefix="Bodylight_Bodylight_Thermal_Examples_MuscleHeat",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 402.6 MB, free: 9.812 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.339e-05, allocations: 2.281 kB / 402.6 MB, free: 9.809 MB / 378.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.MuscleHeat): time 0.002619/0.002643, allocations: 2.079 MB / 404.7 MB, free: 7.723 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003112/0.002954, allocations: 103.7 kB / 404.8 MB, free: 7.621 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.34e-05/0.003037, allocations: 0 / 404.8 MB, free: 7.621 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.003166, allocations: 23.78 kB / 404.8 MB, free: 7.598 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.044e-05/0.003236, allocations: 39.64 kB / 404.8 MB, free: 7.559 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.00337, allocations: 23.97 kB / 404.9 MB, free: 7.535 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.003538, allocations: 127.2 kB / 405 MB, free: 7.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.003665, allocations: 19.98 kB / 405 MB, free: 7.391 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.165e-05/0.003737, allocations: 59.81 kB / 405.1 MB, free: 7.332 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.393e-05/0.003831, allocations: 27.97 kB / 405.1 MB, free: 7.305 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.003855, allocations: 11.94 kB / 405.1 MB, free: 7.293 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.543e-05/0.00387, allocations: 4 kB / 405.1 MB, free: 7.289 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.003892, allocations: 12 kB / 405.1 MB, free: 7.277 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.045e-05/0.003932, allocations: 31.91 kB / 405.1 MB, free: 7.246 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.004101, allocations: 91.7 kB / 405.2 MB, free: 7.156 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.004104, allocations: 4 kB / 405.2 MB, free: 7.152 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.004106, allocations: 0 / 405.2 MB, free: 7.152 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.004111, allocations: 4 kB / 405.2 MB, free: 7.148 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000407/0.004518, allocations: 321.9 kB / 405.6 MB, free: 6.801 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.004558, allocations: 11.98 kB / 405.6 MB, free: 6.789 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.935e-05/0.004598, allocations: 42.73 kB / 405.6 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.247e-05/0.00462, allocations: 8.891 kB / 405.6 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.004826, allocations: 129.7 kB / 405.7 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.004839, allocations: 16.31 kB / 405.8 MB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.00486, allocations: 12.25 kB / 405.8 MB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.004995, allocations: 74.23 kB / 405.8 MB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.005007, allocations: 192 / 405.8 MB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.005017, allocations: 4.375 kB / 405.9 MB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.005025, allocations: 8.125 kB / 405.9 MB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.449e-05/0.005089, allocations: 31.98 kB / 405.9 MB, free: 6.43 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/0.00556, allocations: 319.7 kB / 406.2 MB, free: 6.074 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.005679, allocations: 58.56 kB / 406.3 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.958e-05/0.005718, allocations: 24.97 kB / 406.3 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.367e-06/0.005728, allocations: 7.938 kB / 406.3 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.005747, allocations: 34.56 kB / 406.3 MB, free: 5.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.005749, allocations: 0 / 406.3 MB, free: 5.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001724/0.005921, allocations: 85.58 kB / 406.4 MB, free: 5.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.00595, allocations: 51.41 kB / 406.5 MB, free: 5.777 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.006051, allocations: 140.9 kB / 406.6 MB, free: 5.633 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.006061, allocations: 25.7 kB / 406.6 MB, free: 5.602 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.006105, allocations: 100.1 kB / 406.7 MB, free: 5.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.006125, allocations: 15.94 kB / 406.7 MB, free: 5.484 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.006156, allocations: 25.7 kB / 406.8 MB, free: 5.453 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.316e-05/0.006239, allocations: 322.8 kB / 407.1 MB, free: 5.129 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.163e-05/0.006261, allocations: 11.98 kB / 407.1 MB, free: 5.117 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.555e-05/0.006276, allocations: 15.94 kB / 407.1 MB, free: 5.102 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.006473, allocations: 72.83 kB / 407.2 MB, free: 5.027 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.006476, allocations: 0 / 407.2 MB, free: 5.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.852e-05/0.006544, allocations: 65.66 kB / 407.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.006557, allocations: 4 kB / 407.2 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.006562, allocations: 4.438 kB / 407.2 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.006576, allocations: 3.984 kB / 407.3 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.679e-05/0.006633, allocations: 11.94 kB / 407.3 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.006637, allocations: 0 / 407.3 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.529e-05/0.006662, allocations: 11.95 kB / 407.3 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.006668, allocations: 4 kB / 407.3 MB, free: 4.918 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: muscle.relativeHeat:VARIABLE(flow=false unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real 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 (6): * Single equations (assignments): 6 * 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 0.0001449/0.006813, allocations: 117.8 kB / 407.4 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.006832, allocations: 7.953 kB / 407.4 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.878e-05/0.006871, allocations: 16.45 kB / 407.4 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.006874, allocations: 7.938 kB / 407.4 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.006878, allocations: 0 / 407.4 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.006882, allocations: 0 / 407.4 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.007022, allocations: 168.6 kB / 407.6 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.007024, allocations: 0 / 407.6 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.654e-05/0.00707, allocations: 8 kB / 407.6 MB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.007071, allocations: 0 / 407.6 MB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.007079, allocations: 3.938 kB / 407.6 MB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.007081, allocations: 3.984 kB / 407.6 MB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.007082, allocations: 0 / 407.6 MB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.00724, allocations: 187.4 kB / 407.8 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.172e-05/0.007262, allocations: 16.05 kB / 407.8 MB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.007273, allocations: 0 / 407.8 MB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.407e-05/0.007307, allocations: 0 / 407.8 MB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.46e-05/0.007322, allocations: 3.984 kB / 407.8 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.007328, allocations: 4 kB / 407.8 MB, free: 4.316 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.638e-05/0.007384, allocations: 110.2 kB / 407.9 MB, free: 4.211 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007384, allocations: 0 / 407.9 MB, free: 4.211 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000147/0.007531, allocations: 19.95 kB / 407.9 MB, free: 4.191 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (muscle.relativeHeat) * 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 (5): * Single equations (assignments): 5 * 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.0004075/0.007939, allocations: 0.7162 MB / 408.7 MB, free: 3.449 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.008055, allocations: 36.11 kB / 408.7 MB, free: 3.414 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.008056, allocations: 4.062 kB / 408.7 MB, free: 3.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.119e-05/0.008077, allocations: 15.94 kB / 408.7 MB, free: 3.395 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.00835, allocations: 23.58 kB / 408.7 MB, free: 3.375 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.009803, allocations: 1.492 MB / 410.2 MB, free: 1.797 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.097e-05/0.009874, allocations: 75.33 kB / 410.3 MB, free: 1.703 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.481e-05/0.009919, allocations: 8.484 kB / 410.3 MB, free: 1.695 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.629e-05/0.009975, allocations: 24.5 kB / 410.3 MB, free: 1.672 MB / 378.7 MB Notification: Performance of SimCode: time 8.72e-07/0.009976, allocations: 112 / 410.3 MB, free: 1.672 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08467/0.09464, allocations: 3.054 MB / 413.4 MB, free: 14.75 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.094/7.188, allocations: 11.8 kB / 413.4 MB, free: 14.74 MB / 394.7 MB " [Timeout remaining time 653] (rm -f Bodylight_Bodylight.Thermal.Examples.MuscleHeat.pipe ; mkfifo Bodylight_Bodylight.Thermal.Examples.MuscleHeat.pipe ; head -c 1048576 < Bodylight_Bodylight.Thermal.Examples.MuscleHeat.pipe >> ../files/Bodylight_Bodylight.Thermal.Examples.MuscleHeat.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Bodylight_Bodylight_Thermal_Examples_MuscleHeat_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=50 --tolerance=1e-06 ../Bodylight_Bodylight_Thermal_Examples_MuscleHeat.fmu) > Bodylight_Bodylight.Thermal.Examples.MuscleHeat.pipe 2>&1) [Timeout 52.5] (rm -f Bodylight_Bodylight.Thermal.Examples.MuscleHeat_fmpy.pipe ; mkfifo Bodylight_Bodylight.Thermal.Examples.MuscleHeat_fmpy.pipe ; head -c 1048576 < Bodylight_Bodylight.Thermal.Examples.MuscleHeat_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Thermal.Examples.MuscleHeat_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Bodylight_Bodylight.Thermal.Examples.MuscleHeat_fmpy_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 ../Bodylight_Bodylight_Thermal_Examples_MuscleHeat.fmu) > Bodylight_Bodylight.Thermal.Examples.MuscleHeat_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.56498502008617]