Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.05506/0.05506, allocations: 11.15 MB / 30.25 MB, free: 5.074 MB / 24.77 MB " [Timeout remaining time 180] 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.0007116/0.0007116, allocations: 96.78 kB / 37.83 MB, free: 7.473 MB / 33.03 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.0008929/0.0008929, allocations: 156.6 kB / 45.51 MB, free: 10.92 MB / 44.04 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.9051/0.9051, allocations: 177.2 MB / 230.2 MB, free: 6.555 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1987/0.1987, allocations: 17.63 MB / 308.7 MB, free: 1.734 MB / 266.7 MB " [Timeout remaining time 180] Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.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) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Running command: "" <> buildModelFMU(Physiolibrary.Thermal.Examples.MuscleHeat,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_MuscleHeat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.MuscleHeat,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_MuscleHeat",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 453.1 MB, free: 6.035 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.192e-05, allocations: 2.281 kB / 453.1 MB, free: 6.031 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Thermal.mo:312:7-312:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Thermal.mo:312:7-312:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Physiolibrary.Thermal.Examples.MuscleHeat): time 0.3049/0.3049, allocations: 23.41 MB / 476.5 MB, free: 42.13 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009352/0.3059, allocations: 492.5 kB / 477 MB, free: 42.05 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.306, allocations: 6.938 kB / 477 MB, free: 42.05 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.3061, allocations: 18.52 kB / 477 MB, free: 42.04 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 9.689e-05/0.3062, allocations: 65.48 kB / 477.1 MB, free: 42.01 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001241/0.3063, allocations: 24.06 kB / 477.1 MB, free: 42.01 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.3064, allocations: 166.2 kB / 477.3 MB, free: 41.94 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.3066, allocations: 26 kB / 477.3 MB, free: 41.93 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.099e-05/0.3066, allocations: 76.98 kB / 477.4 MB, free: 41.92 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 8.642e-05/0.3067, allocations: 40.03 kB / 477.4 MB, free: 41.91 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.3068, allocations: 9.031 kB / 477.4 MB, free: 41.91 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.407e-05/0.3068, allocations: 6 kB / 477.4 MB, free: 41.91 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.3068, allocations: 13.67 kB / 477.4 MB, free: 41.91 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.3068, allocations: 42.44 kB / 477.5 MB, free: 41.9 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.307, allocations: 114.7 kB / 477.6 MB, free: 41.88 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.307, allocations: 4 kB / 477.6 MB, free: 41.88 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.044e-06/0.307, allocations: 0 / 477.6 MB, free: 41.88 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.307, allocations: 0 / 477.6 MB, free: 41.88 MB / 410.8 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.0003748/0.3074, allocations: 364.7 kB / 477.9 MB, free: 41.57 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3074, allocations: 9.031 kB / 477.9 MB, free: 41.57 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.813e-05/0.3075, allocations: 43.27 kB / 478 MB, free: 41.53 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.791e-05/0.3075, allocations: 18.78 kB / 478 MB, free: 41.52 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.3077, allocations: 171.6 kB / 478.2 MB, free: 41.37 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.3077, allocations: 3.406 kB / 478.2 MB, free: 41.37 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.3077, allocations: 6.531 kB / 478.2 MB, free: 41.37 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.3078, allocations: 76.19 kB / 478.3 MB, free: 41.34 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3078, allocations: 192 / 478.3 MB, free: 41.34 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.3078, allocations: 9.5 kB / 478.3 MB, free: 41.33 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3078, allocations: 3 kB / 478.3 MB, free: 41.33 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.147e-05/0.3079, allocations: 38.31 kB / 478.3 MB, free: 41.32 MB / 410.8 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.0003762/0.3083, allocations: 341.9 kB / 478.6 MB, free: 41.07 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 9.223e-05/0.3084, allocations: 55.31 kB / 478.7 MB, free: 41.04 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.147e-05/0.3084, allocations: 27.72 kB / 478.7 MB, free: 41.03 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.3084, allocations: 0 / 478.7 MB, free: 41.03 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.3084, allocations: 30.56 kB / 478.8 MB, free: 40.99 MB / 410.8 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.3084, allocations: 2.938 kB / 478.8 MB, free: 40.99 MB / 410.8 MB Notification: Performance of matching and sorting (n=5): time 0.00016/0.3086, allocations: 79.39 kB / 478.8 MB, free: 40.96 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.3086, allocations: 51.41 kB / 478.9 MB, free: 40.89 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.752e-05/0.3087, allocations: 182.4 kB / 479.1 MB, free: 40.79 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.034e-06/0.3087, allocations: 28.61 kB / 479.1 MB, free: 40.76 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.3087, allocations: 120.6 kB / 479.2 MB, free: 40.67 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.3088, allocations: 21.98 kB / 479.2 MB, free: 40.66 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.3088, allocations: 16.16 kB / 479.2 MB, free: 40.64 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.367e-05/0.3088, allocations: 331 kB / 479.6 MB, free: 40.32 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/0.3088, allocations: 17.66 kB / 479.6 MB, free: 40.32 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.687e-05/0.3089, allocations: 9.5 kB / 479.6 MB, free: 40.32 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.309, allocations: 73.5 kB / 479.7 MB, free: 40.31 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.309, allocations: 0 / 479.7 MB, free: 40.31 MB / 410.8 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.046e-05/0.3091, allocations: 71.97 kB / 479.7 MB, free: 40.27 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.3091, allocations: 9.516 kB / 479.7 MB, free: 40.27 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3091, allocations: 0 / 479.7 MB, free: 40.27 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.3091, allocations: 0 / 479.7 MB, free: 40.27 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.268e-05/0.3092, allocations: 13.59 kB / 479.8 MB, free: 40.27 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.3092, allocations: 0 / 479.8 MB, free: 40.27 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.549e-05/0.3092, allocations: 7.891 kB / 479.8 MB, free: 40.26 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.3092, allocations: 7.266 kB / 479.8 MB, free: 40.25 MB / 410.8 MB Warning: Assuming fixed start value for the following 1 variables: muscle.relativeHeat:VARIABLE(flow=false start = muscle.relativeHeat_start 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.0001198/0.3094, allocations: 129.8 kB / 479.9 MB, free: 40.13 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.3094, allocations: 17.78 kB / 479.9 MB, free: 40.12 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.3094, allocations: 14.34 kB / 479.9 MB, free: 40.12 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3094, allocations: 2.969 kB / 479.9 MB, free: 40.12 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3094, allocations: 3.328 kB / 479.9 MB, free: 40.12 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3094, allocations: 0 / 479.9 MB, free: 40.12 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.3095, allocations: 175.6 kB / 480.1 MB, free: 39.96 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3095, allocations: 192 / 480.1 MB, free: 39.96 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.788e-05/0.3096, allocations: 16.39 kB / 480.1 MB, free: 39.95 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.3096, allocations: 0 / 480.1 MB, free: 39.95 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.3096, allocations: 3 kB / 480.1 MB, free: 39.95 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3096, allocations: 0 / 480.1 MB, free: 39.95 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3096, allocations: 4 kB / 480.1 MB, free: 39.95 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.3097, allocations: 190.8 kB / 480.3 MB, free: 39.8 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.88e-05/0.3098, allocations: 17.7 kB / 480.3 MB, free: 39.8 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.3098, allocations: 3 kB / 480.3 MB, free: 39.8 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.635e-05/0.3098, allocations: 0 / 480.3 MB, free: 39.8 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.3098, allocations: 6.469 kB / 480.3 MB, free: 39.8 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.3098, allocations: 0 / 480.3 MB, free: 39.8 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.195e-05/0.3099, allocations: 140.1 kB / 480.5 MB, free: 39.72 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.3099, allocations: 0 / 480.5 MB, free: 39.72 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001514/0.31, allocations: 24.94 kB / 480.5 MB, free: 39.71 MB / 410.8 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.0001884/0.3102, allocations: 0.7155 MB / 481.2 MB, free: 39.04 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 8.405e-05/0.3103, allocations: 34.75 kB / 481.3 MB, free: 39.04 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3103, allocations: 0 / 481.3 MB, free: 39.04 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.657e-05/0.3103, allocations: 20.22 kB / 481.3 MB, free: 39.04 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.3106, allocations: 61.91 kB / 481.3 MB, free: 39.03 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009492/0.3116, allocations: 1.662 MB / 483 MB, free: 37.77 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.951e-05/0.3116, allocations: 96.12 kB / 483.1 MB, free: 37.7 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 4.456e-05/0.3117, allocations: 11.38 kB / 483.1 MB, free: 37.69 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.775e-05/0.3117, allocations: 37.47 kB / 483.1 MB, free: 37.68 MB / 410.8 MB Notification: Performance of SimCode: time 6.71e-07/0.3117, allocations: 3.938 kB / 483.1 MB, free: 37.68 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.3308, allocations: 4.361 MB / 487.5 MB, free: 36.49 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.836/7.167, allocations: 4.875 kB / 487.5 MB, free: 36.49 MB / 410.8 MB " [Timeout remaining time 653] (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_MuscleHeat_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_MuscleHeat.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.0666878009215] Failed to read output from testmodel.py, exit status != 0: 7.249604050070047 7.257843141 6.948862515 Calling exit ...