Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1953/0.1953, allocations: 23.87 MB / 40.92 MB, free: 8.59 MB / 34.91 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.001293/0.001293, allocations: 101.9 kB / 50.27 MB, free: 2.559 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.001657/0.001657, allocations: 222.6 kB / 59.77 MB, free: 6.074 MB / 46.55 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.529/1.529, allocations: 230.5 MB / 299.6 MB, free: 7.621 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.1407/0.1407, allocations: 23.7 MB / 385.9 MB, free: 10.32 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 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Running command: "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow",fmuType="cs",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: Physiolibrary requested package Chemical of version 1.4.0. Chemical 2.0.0 is used instead which states that it is only compatible with a conversion script. Use convertPackageToLibrary(Physiolibrary, Chemical, \"2.0.0\") to run the conversion script or proceed with potential issues as a result. Notification: Performance of FrontEnd - loaded program: time 0.003357/0.003357, allocations: 116.2 kB / 0.5203 GB, free: 42.69 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1433, allocations: 65.93 MB / 0.5847 GB, free: 11.49 MB / 414.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.SkinHeatTransferOnBloodFlow): time 0.03721/0.1805, allocations: 22.66 MB / 0.6068 GB, free: 4.906 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.1816, allocations: 474.7 kB / 0.6073 GB, free: 4.438 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.1817, allocations: 7.938 kB / 0.6073 GB, free: 4.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.1818, allocations: 19.78 kB / 0.6073 GB, free: 4.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.182, allocations: 47.62 kB / 0.6073 GB, free: 4.363 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.109e-05/0.182, allocations: 15.98 kB / 0.6073 GB, free: 4.348 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.1822, allocations: 111.3 kB / 0.6074 GB, free: 4.238 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1823, allocations: 24.86 kB / 0.6075 GB, free: 4.211 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.09e-05/0.1824, allocations: 31.81 kB / 0.6075 GB, free: 4.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.266e-05/0.1824, allocations: 39.73 kB / 0.6075 GB, free: 4.141 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.1824, allocations: 4 kB / 0.6075 GB, free: 4.137 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.1825, allocations: 4 kB / 0.6075 GB, free: 4.133 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.594e-05/0.1825, allocations: 19.92 kB / 0.6076 GB, free: 4.113 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.503e-05/0.1825, allocations: 43.69 kB / 0.6076 GB, free: 4.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.1827, allocations: 95.58 kB / 0.6077 GB, free: 3.977 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1827, allocations: 4 kB / 0.6077 GB, free: 3.973 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1827, allocations: 0 / 0.6077 GB, free: 3.973 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1827, allocations: 0 / 0.6077 GB, free: 3.973 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005403/0.1833, allocations: 414.8 kB / 0.6081 GB, free: 3.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1833, allocations: 8.031 kB / 0.6081 GB, free: 3.512 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.002e-05/0.1833, allocations: 192 / 0.6081 GB, free: 3.512 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.387e-05/0.1834, allocations: 38.75 kB / 0.6081 GB, free: 3.465 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.954e-05/0.1834, allocations: 12.83 kB / 0.6082 GB, free: 3.453 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.1837, allocations: 224.8 kB / 0.6084 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.1837, allocations: 8.375 kB / 0.6084 GB, free: 3.188 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.1837, allocations: 4.375 kB / 0.6084 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.1838, allocations: 65.56 kB / 0.6084 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1838, allocations: 0 / 0.6084 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1839, allocations: 8 kB / 0.6085 GB, free: 3.105 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1839, allocations: 0 / 0.6085 GB, free: 3.105 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.771e-05/0.1839, allocations: 27.98 kB / 0.6085 GB, free: 3.078 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000526/0.1844, allocations: 475.2 kB / 0.6089 GB, free: 2.562 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.1845, allocations: 173.1 kB / 0.6091 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.023e-05/0.1846, allocations: 84.14 kB / 0.6092 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.1846, allocations: 79.28 kB / 0.6093 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.023e-05/0.1847, allocations: 109.8 kB / 0.6094 GB, free: 2.102 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.1847, allocations: 0 / 0.6094 GB, free: 2.102 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 8.312e-05/0.1848, allocations: 41.55 kB / 0.6094 GB, free: 2.055 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.862e-05/0.1848, allocations: 134.7 kB / 0.6095 GB, free: 1.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.185, allocations: 175.2 kB / 0.6097 GB, free: 1.727 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.1851, allocations: 25.7 kB / 0.6097 GB, free: 1.695 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.962e-05/0.1851, allocations: 120.2 kB / 0.6098 GB, free: 1.574 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.1851, allocations: 3.938 kB / 0.6098 GB, free: 1.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.1852, allocations: 13.72 kB / 0.6098 GB, free: 1.551 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1853, allocations: 322.8 kB / 0.6102 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.041e-05/0.1853, allocations: 0 / 0.6102 GB, free: 1.227 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-06/0.1853, allocations: 4 kB / 0.6102 GB, free: 1.223 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.605e-05/0.1854, allocations: 16.8 kB / 0.6102 GB, free: 1.203 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1854, allocations: 4.062 kB / 0.6102 GB, free: 1.199 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001052/0.1855, allocations: 41.61 kB / 0.6102 GB, free: 1.152 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1855, allocations: 8 kB / 0.6102 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1855, allocations: 0 / 0.6102 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1855, allocations: 3.938 kB / 0.6102 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.437e-05/0.1856, allocations: 0 / 0.6102 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1856, allocations: 0 / 0.6102 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.97e-05/0.1856, allocations: 7.938 kB / 0.6102 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.1856, allocations: 0 / 0.6102 GB, free: 1.133 MB / 430.1 MB 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 (1): * Single equations (assignments): 1 * 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.0001181/0.1857, allocations: 197.1 kB / 0.6104 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.968e-05/0.1858, allocations: 120.8 kB / 0.6105 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.04e-05/0.1859, allocations: 121.2 kB / 0.6107 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.215e-05/0.186, allocations: 176.3 kB / 0.6108 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-05/0.186, allocations: 188.2 kB / 0.611 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.468e-05/0.1861, allocations: 176.3 kB / 0.6112 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003253/0.1864, allocations: 445.1 kB / 0.6116 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.68e-05/0.1865, allocations: 101 kB / 0.6117 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.745e-05/0.1865, allocations: 108.9 kB / 0.6118 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.609e-05/0.1866, allocations: 176.3 kB / 0.612 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.021e-05/0.1867, allocations: 184.2 kB / 0.6121 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.784e-05/0.1868, allocations: 188.2 kB / 0.6123 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.53e-05/0.1868, allocations: 180.3 kB / 0.6125 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.187, allocations: 311.7 kB / 0.6128 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.1871, allocations: 194 kB / 0.613 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.1872, allocations: 188.1 kB / 0.6132 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.1873, allocations: 109 kB / 0.6133 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.105e-05/0.1874, allocations: 184.2 kB / 0.6134 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.802e-05/0.1874, allocations: 101 kB / 0.6135 GB, free: 13.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001294/0.1876, allocations: 141.2 kB / 0.6137 GB, free: 13.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1876, allocations: 0 / 0.6137 GB, free: 13.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000224/0.1878, allocations: 15.94 kB / 0.6137 GB, free: 13.38 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0005138/0.1883, allocations: 0.8048 MB / 0.6145 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.589e-05/0.1884, allocations: 7.938 kB / 0.6145 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1884, allocations: 0 / 0.6145 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.927e-06/0.1884, allocations: 4 kB / 0.6145 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006461/0.189, allocations: 0.4946 MB / 0.615 GB, free: 12.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.1908, allocations: 1.651 MB / 0.6166 GB, free: 10.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.1911, allocations: 0.7002 MB / 0.6173 GB, free: 9.582 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.733e-05/0.1912, allocations: 8.641 kB / 0.6173 GB, free: 9.574 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.652e-05/0.1912, allocations: 31.42 kB / 0.6173 GB, free: 9.543 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1912, allocations: 0 / 0.6173 GB, free: 9.543 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.2129, allocations: 3.121 MB / 0.6203 GB, free: 6.516 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.762/8.975, allocations: 8.625 kB / 0.6204 GB, free: 6.508 MB / 446.1 MB " [Timeout remaining time 651] (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.383376899990253] Failed to read output from testmodel.py, exit status != 0: 9.103278637980111 9.130912371 8.943219309 Calling exit ...