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.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.09544/0.09544, allocations: 15.53 MB / 34.26 MB, free: 4.617 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 116.4 kB / 41.83 MB, free: 6.305 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 194.3 kB / 49.48 MB, free: 10.08 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 282.6 MB, free: 8.805 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.1392/0.1392, allocations: 23.69 MB / 365.9 MB, free: 9.125 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/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 0.003317/0.003317, allocations: 119.8 kB / 0.496 GB, free: 6.266 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3142, allocations: 62.67 MB / 0.5572 GB, free: 6.305 MB / 382.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.03614/0.3503, allocations: 23.03 MB / 0.5797 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.3515, allocations: 486.8 kB / 0.5801 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.3516, allocations: 3.938 kB / 0.5801 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.3518, allocations: 23.78 kB / 0.5801 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.3519, allocations: 55.48 kB / 0.5802 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001173/0.3521, allocations: 15.98 kB / 0.5802 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.3523, allocations: 155.1 kB / 0.5804 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.3524, allocations: 37.59 kB / 0.5804 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8e-05/0.3525, allocations: 55.73 kB / 0.5805 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.3526, allocations: 55.72 kB / 0.5805 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.3526, allocations: 4 kB / 0.5805 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.204e-05/0.3527, allocations: 8 kB / 0.5805 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.124e-05/0.3527, allocations: 19.88 kB / 0.5805 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.176e-05/0.3528, allocations: 59.67 kB / 0.5806 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.353, allocations: 127.4 kB / 0.5807 GB, free: 14.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.353, allocations: 0 / 0.5807 GB, free: 14.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.353, allocations: 0 / 0.5807 GB, free: 14.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.353, allocations: 0 / 0.5807 GB, free: 14.3 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.00063/0.3536, allocations: 364.4 kB / 0.5811 GB, free: 13.92 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3537, allocations: 12.03 kB / 0.5811 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.07e-05/0.3537, allocations: 42.67 kB / 0.5811 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.3537, allocations: 16.84 kB / 0.5811 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.354, allocations: 170.8 kB / 0.5813 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.354, allocations: 4.375 kB / 0.5813 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.354, allocations: 12.31 kB / 0.5813 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.3542, allocations: 81.25 kB / 0.5814 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.3542, allocations: 7.938 kB / 0.5814 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.3542, allocations: 3.938 kB / 0.5814 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.3542, allocations: 0 / 0.5814 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.3543, allocations: 35.98 kB / 0.5814 GB, free: 13.51 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.000624/0.355, allocations: 450.6 kB / 0.5819 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.3551, allocations: 54.56 kB / 0.5819 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.143e-05/0.3552, allocations: 20.98 kB / 0.5819 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.3552, allocations: 0 / 0.5819 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.3552, allocations: 38.55 kB / 0.582 GB, free: 12.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 7.81e-07/0.3552, allocations: 0 / 0.582 GB, free: 12.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000224/0.3554, allocations: 93.53 kB / 0.5821 GB, free: 12.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.3555, allocations: 59.33 kB / 0.5821 GB, free: 12.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.3557, allocations: 175.3 kB / 0.5823 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.3557, allocations: 29.7 kB / 0.5823 GB, free: 12.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.215e-05/0.3558, allocations: 108.1 kB / 0.5824 GB, free: 12.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.3558, allocations: 23.83 kB / 0.5824 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.522e-05/0.3558, allocations: 21.67 kB / 0.5825 GB, free: 12.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.356, allocations: 322.8 kB / 0.5828 GB, free: 12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.04e-05/0.356, allocations: 15.98 kB / 0.5828 GB, free: 11.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.374e-05/0.3561, allocations: 12 kB / 0.5828 GB, free: 11.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.3563, allocations: 77.14 kB / 0.5829 GB, free: 11.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3564, allocations: 0 / 0.5829 GB, free: 11.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000122/0.3565, allocations: 73.66 kB / 0.5829 GB, free: 11.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3565, allocations: 4 kB / 0.5829 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.3565, allocations: 3.984 kB / 0.5829 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3565, allocations: 4 kB / 0.5829 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.962e-05/0.3566, allocations: 11.94 kB / 0.583 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3566, allocations: 0 / 0.583 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.3566, allocations: 7.953 kB / 0.583 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.3566, allocations: 0 / 0.583 GB, free: 11.79 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.000228/0.3569, allocations: 124.2 kB / 0.5831 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.3569, allocations: 11.91 kB / 0.5831 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.565e-05/0.357, allocations: 21.08 kB / 0.5831 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.357, allocations: 7.938 kB / 0.5831 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.357, allocations: 0 / 0.5831 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.357, allocations: 4 kB / 0.5831 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.3572, allocations: 176.6 kB / 0.5833 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3572, allocations: 0 / 0.5833 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.228e-05/0.3573, allocations: 8 kB / 0.5833 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3573, allocations: 3.938 kB / 0.5833 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3573, allocations: 0 / 0.5833 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.3573, allocations: 7.938 kB / 0.5833 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3573, allocations: 0 / 0.5833 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.3575, allocations: 191.5 kB / 0.5835 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.3576, allocations: 15.92 kB / 0.5835 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.3576, allocations: 11.94 kB / 0.5835 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.602e-05/0.3577, allocations: 3.938 kB / 0.5835 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.017e-05/0.3577, allocations: 0 / 0.5835 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.3577, allocations: 3.984 kB / 0.5835 GB, free: 11.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.3578, allocations: 135.4 kB / 0.5837 GB, free: 11 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3578, allocations: 0 / 0.5837 GB, free: 11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.358, allocations: 28 kB / 0.5837 GB, free: 10.98 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.0005037/0.3585, allocations: 0.7164 MB / 0.5844 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001595/0.3587, allocations: 31.94 kB / 0.5844 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.3587, allocations: 4 kB / 0.5844 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.549e-05/0.3587, allocations: 15.98 kB / 0.5844 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.3592, allocations: 70.52 kB / 0.5845 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.3611, allocations: 1.697 MB / 0.5862 GB, free: 8.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.3614, allocations: 0.7045 MB / 0.5869 GB, free: 7.609 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.711e-05/0.3615, allocations: 21.06 kB / 0.5869 GB, free: 7.586 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.558e-05/0.3616, allocations: 39.36 kB / 0.5869 GB, free: 7.551 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3616, allocations: 0 / 0.5869 GB, free: 7.551 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02822/0.3898, allocations: 3.496 MB / 0.5903 GB, free: 4.137 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.861/8.251, allocations: 3.984 kB / 0.5903 GB, free: 4.133 MB / 414.1 MB " [Timeout remaining time 652] (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: 10.876125039008912] Failed to read output from testmodel.py, exit status != 0: 8.319320203008829 8.33485159 7.978820606 Calling exit ...