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.08708/0.08708, allocations: 15.52 MB / 31.87 MB, free: 3.883 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.001195/0.001195, allocations: 111.1 kB / 39.12 MB, free: 1.148 MB / 26.18 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.001418/0.001418, allocations: 204.9 kB / 46.48 MB, free: 2.512 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.4/1.4, allocations: 225.6 MB / 279.3 MB, free: 15.35 MB / 222.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.1451/0.1451, allocations: 23.72 MB / 362.3 MB, free: 0.7852 MB / 270.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.003138/0.003138, allocations: 119.8 kB / 0.4908 GB, free: 25.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.108, allocations: 62.64 MB / 0.552 GB, free: 10.4 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.0338/0.1418, allocations: 22.82 MB / 0.5743 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.1428, allocations: 482.8 kB / 0.5747 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.1429, allocations: 4 kB / 0.5747 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.1431, allocations: 23.72 kB / 0.5747 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.1432, allocations: 59.48 kB / 0.5748 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001146/0.1433, allocations: 19.97 kB / 0.5748 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.1435, allocations: 151.1 kB / 0.575 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1436, allocations: 33.41 kB / 0.575 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.611e-05/0.1437, allocations: 55.73 kB / 0.575 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.1438, allocations: 55.72 kB / 0.5751 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.1438, allocations: 8 kB / 0.5751 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.861e-05/0.1439, allocations: 4 kB / 0.5751 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.528e-05/0.1439, allocations: 19.92 kB / 0.5751 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.413e-05/0.1439, allocations: 55.69 kB / 0.5752 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.1441, allocations: 119.5 kB / 0.5753 GB, free: 2.594 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1441, allocations: 0 / 0.5753 GB, free: 2.594 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1441, allocations: 0 / 0.5753 GB, free: 2.594 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.1441, allocations: 4 kB / 0.5753 GB, free: 2.59 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.0005779/0.1447, allocations: 446.6 kB / 0.5757 GB, free: 2.105 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.1448, allocations: 12.03 kB / 0.5757 GB, free: 2.094 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.092e-05/0.1448, allocations: 38.73 kB / 0.5758 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.1448, allocations: 16.84 kB / 0.5758 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.1451, allocations: 232.1 kB / 0.576 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1451, allocations: 4.312 kB / 0.576 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.1452, allocations: 12.31 kB / 0.576 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.1453, allocations: 81.31 kB / 0.5761 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1453, allocations: 0 / 0.5761 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1453, allocations: 0 / 0.5761 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.1453, allocations: 3.984 kB / 0.5761 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.171e-05/0.1454, allocations: 35.98 kB / 0.5761 GB, free: 1.629 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.0006174/0.146, allocations: 487.3 kB / 0.5766 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.1462, allocations: 58.5 kB / 0.5767 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.18e-05/0.1462, allocations: 20.98 kB / 0.5767 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.1462, allocations: 0 / 0.5767 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.1462, allocations: 34.56 kB / 0.5767 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.1462, allocations: 4 kB / 0.5767 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002075/0.1464, allocations: 81.59 kB / 0.5768 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.1465, allocations: 59.34 kB / 0.5769 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.1467, allocations: 178.3 kB / 0.577 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.1467, allocations: 33.64 kB / 0.5771 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.477e-05/0.1467, allocations: 116.2 kB / 0.5772 GB, free: 456 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.1468, allocations: 15.89 kB / 0.5772 GB, free: 440 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.1468, allocations: 21.67 kB / 0.5772 GB, free: 412 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1469, allocations: 326.8 kB / 0.5775 GB, free: 76 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.94e-05/0.147, allocations: 12 kB / 0.5775 GB, free: 64 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.418e-05/0.147, allocations: 11.98 kB / 0.5775 GB, free: 52 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/0.1473, allocations: 77.2 kB / 0.5776 GB, free: 15.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1473, allocations: 0 / 0.5776 GB, free: 15.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001133/0.1474, allocations: 69.59 kB / 0.5777 GB, free: 15.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1474, allocations: 8 kB / 0.5777 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.1474, allocations: 4 kB / 0.5777 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1474, allocations: 0 / 0.5777 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.725e-05/0.1475, allocations: 15.92 kB / 0.5777 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1475, allocations: 0 / 0.5777 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.766e-05/0.1476, allocations: 11.89 kB / 0.5777 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1476, allocations: 4 kB / 0.5777 GB, free: 15.86 MB / 430.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.0001685/0.1477, allocations: 123.8 kB / 0.5778 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.1478, allocations: 15.91 kB / 0.5779 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/0.1478, allocations: 24.98 kB / 0.5779 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1478, allocations: 3.938 kB / 0.5779 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1478, allocations: 3.938 kB / 0.5779 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.1478, allocations: 0 / 0.5779 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.1481, allocations: 205.6 kB / 0.5781 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1481, allocations: 0 / 0.5781 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.2e-05/0.1481, allocations: 15.92 kB / 0.5781 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1481, allocations: 0 / 0.5781 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.1481, allocations: 0 / 0.5781 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.1481, allocations: 3.938 kB / 0.5781 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1481, allocations: 3.938 kB / 0.5781 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.1484, allocations: 191.6 kB / 0.5783 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.199e-05/0.1484, allocations: 97.03 kB / 0.5784 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.1485, allocations: 0 / 0.5784 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.565e-05/0.1485, allocations: 3.938 kB / 0.5784 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.1486, allocations: 8 kB / 0.5784 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.1486, allocations: 0 / 0.5784 GB, free: 15.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.1487, allocations: 132.4 kB / 0.5785 GB, free: 14.95 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1487, allocations: 8.062 kB / 0.5785 GB, free: 14.94 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00024/0.1489, allocations: 20 kB / 0.5785 GB, free: 14.92 MB / 430.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.0004751/0.1494, allocations: 0.7163 MB / 0.5792 GB, free: 14.17 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.1495, allocations: 28 kB / 0.5793 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1495, allocations: 0 / 0.5793 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.514e-05/0.1495, allocations: 27.98 kB / 0.5793 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.15, allocations: 62.3 kB / 0.5794 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.1517, allocations: 1.685 MB / 0.581 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.152, allocations: 0.7084 MB / 0.5817 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.326e-05/0.152, allocations: 24.98 kB / 0.5817 GB, free: 11.53 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.824e-05/0.1521, allocations: 35.44 kB / 0.5817 GB, free: 11.5 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1521, allocations: 0 / 0.5817 GB, free: 11.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.178, allocations: 3.47 MB / 0.5851 GB, free: 8.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.784/7.962, allocations: 15.88 kB / 0.5852 GB, free: 8.074 MB / 430.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.917806171812117] Failed to read output from testmodel.py, exit status != 0: 8.02845707302913 8.264189193 8.117512678 Calling exit ...