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.1242/0.1242, allocations: 15.56 MB / 34.41 MB, free: 4.492 MB / 26.18 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.001325/0.001325, allocations: 101.8 kB / 41.98 MB, free: 6.172 MB / 34.91 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.001601/0.001601, allocations: 214.1 kB / 49.68 MB, free: 10.01 MB / 34.91 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.569/1.569, allocations: 230.6 MB / 287.9 MB, free: 6.285 MB / 206.1 MB " [Timeout remaining time 178] 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.1539/0.1539, allocations: 23.73 MB / 372.4 MB, free: 2.961 MB / 286.1 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: Chemical 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: Physiolibrary 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: Physiolibrary requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Warning: Requested package Chemical of version 1.4.0, but this package was already loaded with version 1.4.1. There are no conversion annotations and 1.4.0 is older than 1.4.1, so the libraries are probably incompatible. Notification: Performance of FrontEnd - loaded program: time 0.00372/0.00372, allocations: 135.8 kB / 0.5047 GB, free: 15.15 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3215, allocations: 63.85 MB / 0.567 GB, free: 14.47 MB / 398.1 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.0799/0.4014, allocations: 23.13 MB / 0.5896 GB, free: 7.441 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.4032, allocations: 486.6 kB / 0.5901 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.4034, allocations: 7.938 kB / 0.5901 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.4035, allocations: 19.78 kB / 0.5901 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.4038, allocations: 59.48 kB / 0.5901 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.4039, allocations: 27.97 kB / 0.5902 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003383/0.4043, allocations: 147.1 kB / 0.5903 GB, free: 6.707 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.4045, allocations: 33.66 kB / 0.5903 GB, free: 6.668 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.4046, allocations: 51.73 kB / 0.5904 GB, free: 6.617 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.4047, allocations: 51.66 kB / 0.5904 GB, free: 6.566 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.4048, allocations: 8 kB / 0.5905 GB, free: 6.559 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.024e-05/0.4048, allocations: 8 kB / 0.5905 GB, free: 6.551 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.764e-05/0.4049, allocations: 15.94 kB / 0.5905 GB, free: 6.535 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.949e-05/0.405, allocations: 51.73 kB / 0.5905 GB, free: 6.484 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.4053, allocations: 127.4 kB / 0.5906 GB, free: 6.359 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4053, allocations: 0 / 0.5906 GB, free: 6.359 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4053, allocations: 4 kB / 0.5907 GB, free: 6.355 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.4053, allocations: 0 / 0.5907 GB, free: 6.355 MB / 414.1 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.0008069/0.4061, allocations: 365.6 kB / 0.591 GB, free: 5.969 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.4061, allocations: 8.031 kB / 0.591 GB, free: 5.961 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.794e-05/0.4062, allocations: 38.73 kB / 0.591 GB, free: 5.914 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.249e-05/0.4063, allocations: 16.84 kB / 0.5911 GB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.4067, allocations: 182.6 kB / 0.5912 GB, free: 5.695 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.4067, allocations: 384 / 0.5912 GB, free: 5.695 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.4067, allocations: 12.31 kB / 0.5912 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.407, allocations: 84.89 kB / 0.5913 GB, free: 5.598 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.407, allocations: 0 / 0.5913 GB, free: 5.598 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.407, allocations: 0 / 0.5913 GB, free: 5.598 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.407, allocations: 0 / 0.5913 GB, free: 5.598 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.4072, allocations: 39.92 kB / 0.5914 GB, free: 5.559 MB / 414.1 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.0008844/0.408, allocations: 332.6 kB / 0.5917 GB, free: 5.191 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.4083, allocations: 70.48 kB / 0.5917 GB, free: 5.113 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.097e-05/0.4084, allocations: 16.98 kB / 0.5918 GB, free: 5.094 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.4084, allocations: 0 / 0.5918 GB, free: 5.094 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.091e-05/0.4084, allocations: 38.56 kB / 0.5918 GB, free: 5.047 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.933e-06/0.4084, allocations: 0 / 0.5918 GB, free: 5.047 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003487/0.4088, allocations: 85.53 kB / 0.5919 GB, free: 4.957 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/0.4088, allocations: 59.34 kB / 0.5919 GB, free: 4.887 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.4091, allocations: 182.2 kB / 0.5921 GB, free: 4.699 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.4092, allocations: 25.7 kB / 0.5921 GB, free: 4.668 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.4093, allocations: 112.2 kB / 0.5922 GB, free: 4.555 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.4093, allocations: 27.84 kB / 0.5923 GB, free: 4.527 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.817e-05/0.4094, allocations: 17.72 kB / 0.5923 GB, free: 4.504 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.4096, allocations: 318.8 kB / 0.5926 GB, free: 4.184 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.929e-05/0.4097, allocations: 12 kB / 0.5926 GB, free: 4.172 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.832e-05/0.4097, allocations: 15.98 kB / 0.5926 GB, free: 4.156 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004803/0.4102, allocations: 69.22 kB / 0.5927 GB, free: 4.086 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.4102, allocations: 0 / 0.5927 GB, free: 4.086 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002212/0.4104, allocations: 81.53 kB / 0.5928 GB, free: 4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4104, allocations: 8 kB / 0.5928 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4105, allocations: 0 / 0.5928 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.4105, allocations: 3.938 kB / 0.5928 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.4106, allocations: 19.92 kB / 0.5928 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.4106, allocations: 3.984 kB / 0.5928 GB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.946e-05/0.4107, allocations: 7.938 kB / 0.5928 GB, free: 3.957 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.4107, allocations: 0 / 0.5928 GB, free: 3.957 MB / 414.1 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.0002193/0.4109, allocations: 124.7 kB / 0.5929 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.594e-05/0.411, allocations: 11.91 kB / 0.5929 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.079e-05/0.411, allocations: 25.08 kB / 0.593 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.4111, allocations: 11.88 kB / 0.593 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.4111, allocations: 0 / 0.593 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.4111, allocations: 0 / 0.593 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003548/0.4114, allocations: 168.7 kB / 0.5931 GB, free: 3.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4114, allocations: 3.938 kB / 0.5931 GB, free: 3.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.4115, allocations: 4 kB / 0.5931 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.4115, allocations: 0 / 0.5931 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.4116, allocations: 8 kB / 0.5931 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.4116, allocations: 3.938 kB / 0.5932 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4116, allocations: 0 / 0.5932 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.4119, allocations: 195.5 kB / 0.5933 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-05/0.412, allocations: 15.94 kB / 0.5934 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.412, allocations: 0 / 0.5934 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.4122, allocations: 3.938 kB / 0.5934 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.4122, allocations: 7.984 kB / 0.5934 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.4122, allocations: 0 / 0.5934 GB, free: 3.316 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001944/0.4124, allocations: 132.4 kB / 0.5935 GB, free: 3.188 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4124, allocations: 3.938 kB / 0.5935 GB, free: 3.184 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004162/0.4128, allocations: 24 kB / 0.5935 GB, free: 3.16 MB / 414.1 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.0007928/0.4136, allocations: 0.7124 MB / 0.5942 GB, free: 2.418 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001791/0.4138, allocations: 36.05 kB / 0.5942 GB, free: 2.383 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4138, allocations: 0 / 0.5942 GB, free: 2.383 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.479e-05/0.4138, allocations: 16 kB / 0.5943 GB, free: 2.367 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008046/0.4146, allocations: 70.83 kB / 0.5943 GB, free: 2.305 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/0.4178, allocations: 1.689 MB / 0.596 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.418, allocations: 90.72 kB / 0.5961 GB, free: 440 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.4181, allocations: 21.06 kB / 0.5961 GB, free: 412 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.899e-05/0.4182, allocations: 35.42 kB / 0.5961 GB, free: 380 kB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4182, allocations: 0 / 0.5961 GB, free: 380 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03426/0.4524, allocations: 4.255 MB / 0.6003 GB, free: 12.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.67, allocations: 4.062 kB / 0.6003 GB, free: 12.23 MB / 430.1 MB " [Timeout remaining time 648] (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: 14.65305989002809] Failed to read output from testmodel.py, exit status != 0: 11.79889190196991 11.827551818 11.416787977 Calling exit ...