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 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.1259/0.1259, allocations: 15.53 MB / 34.26 MB, free: 4.609 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.001319/0.001319, allocations: 116.4 kB / 41.83 MB, free: 6.297 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.001432/0.001432, allocations: 188.3 kB / 49.48 MB, free: 10.14 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.469/1.469, allocations: 225.6 MB / 282.6 MB, free: 8.773 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.1472/0.1472, allocations: 23.69 MB / 365.9 MB, free: 9.141 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.SkinHeatTransferOnBloodFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.004199/0.004199, allocations: 115.8 kB / 0.496 GB, free: 6.281 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3618, allocations: 62.67 MB / 0.5572 GB, free: 6.316 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.SkinHeatTransferOnBloodFlow): time 0.03658/0.3984, allocations: 22.99 MB / 0.5796 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.3994, allocations: 454.9 kB / 0.58 GB, free: 15 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.3995, allocations: 3.938 kB / 0.5801 GB, free: 15 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.3996, allocations: 19.8 kB / 0.5801 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.3997, allocations: 39.62 kB / 0.5801 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.119e-05/0.3998, allocations: 11.98 kB / 0.5801 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.4, allocations: 115.3 kB / 0.5802 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.4001, allocations: 25.05 kB / 0.5803 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.978e-05/0.4001, allocations: 35.86 kB / 0.5803 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.416e-05/0.4002, allocations: 39.8 kB / 0.5803 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.4002, allocations: 7.938 kB / 0.5803 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.725e-05/0.4003, allocations: 4 kB / 0.5803 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.4003, allocations: 7.938 kB / 0.5803 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.257e-05/0.4003, allocations: 51.73 kB / 0.5804 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.4005, allocations: 91.53 kB / 0.5805 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4005, allocations: 0 / 0.5805 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4005, allocations: 0 / 0.5805 GB, free: 14.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.4005, allocations: 7.938 kB / 0.5805 GB, free: 14.55 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004882/0.401, allocations: 336.8 kB / 0.5808 GB, free: 14.19 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.401, allocations: 12.03 kB / 0.5808 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.291e-05/0.4011, allocations: 34.75 kB / 0.5809 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.4011, allocations: 16.84 kB / 0.5809 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.4014, allocations: 158.3 kB / 0.581 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.4014, allocations: 4.375 kB / 0.581 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.4014, allocations: 4.375 kB / 0.581 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.4015, allocations: 61.75 kB / 0.5811 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.4015, allocations: 4 kB / 0.5811 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.4015, allocations: 0 / 0.5811 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.4015, allocations: 0 / 0.5811 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.492e-05/0.4016, allocations: 23.98 kB / 0.5811 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000529/0.4021, allocations: 454.3 kB / 0.5816 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.4022, allocations: 169.1 kB / 0.5817 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.772e-05/0.4022, allocations: 84.14 kB / 0.5818 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.4023, allocations: 75.28 kB / 0.5819 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.156e-05/0.4023, allocations: 109.8 kB / 0.582 GB, free: 12.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.4023, allocations: 4 kB / 0.582 GB, free: 12.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 9.046e-05/0.4024, allocations: 41.55 kB / 0.582 GB, free: 12.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.4025, allocations: 134.6 kB / 0.5821 GB, free: 12.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.4027, allocations: 179.3 kB / 0.5823 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.4027, allocations: 25.7 kB / 0.5823 GB, free: 12.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.411e-05/0.4028, allocations: 116 kB / 0.5824 GB, free: 12.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.4028, allocations: 0 / 0.5824 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.4028, allocations: 9.719 kB / 0.5825 GB, free: 12.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.403, allocations: 326.8 kB / 0.5828 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.401e-05/0.403, allocations: 8 kB / 0.5828 GB, free: 12.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.769e-06/0.403, allocations: 4 kB / 0.5828 GB, free: 12.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.397e-05/0.403, allocations: 4.859 kB / 0.5828 GB, free: 12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.403, allocations: 0 / 0.5828 GB, free: 12 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001154/0.4032, allocations: 45.66 kB / 0.5828 GB, free: 11.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.4032, allocations: 7.938 kB / 0.5828 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.4032, allocations: 4.094 kB / 0.5828 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4032, allocations: 7.938 kB / 0.5828 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.733e-05/0.4032, allocations: 3.984 kB / 0.5828 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.4032, allocations: 112 / 0.5829 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.152e-05/0.4033, allocations: 11.89 kB / 0.5829 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.4033, allocations: 0 / 0.5829 GB, free: 11.92 MB / 414.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.0001216/0.4034, allocations: 193.1 kB / 0.583 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.62e-05/0.4035, allocations: 108.9 kB / 0.5831 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.032e-05/0.4036, allocations: 125.4 kB / 0.5833 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.622e-05/0.4037, allocations: 192.2 kB / 0.5835 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.244e-05/0.4037, allocations: 180.3 kB / 0.5836 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.521e-05/0.4038, allocations: 180.2 kB / 0.5838 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.4041, allocations: 404.3 kB / 0.5842 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.946e-05/0.4042, allocations: 112.9 kB / 0.5843 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.4042, allocations: 109 kB / 0.5844 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-05/0.4043, allocations: 176.3 kB / 0.5846 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.427e-05/0.4044, allocations: 184.2 kB / 0.5847 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.097e-05/0.4045, allocations: 180.2 kB / 0.5849 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.296e-05/0.4045, allocations: 180.2 kB / 0.5851 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.4047, allocations: 319.7 kB / 0.5854 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.389e-05/0.4048, allocations: 112.9 kB / 0.5855 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.4049, allocations: 180.2 kB / 0.5857 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.405, allocations: 116.9 kB / 0.5858 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.937e-05/0.4051, allocations: 180.3 kB / 0.5859 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.788e-05/0.4051, allocations: 101 kB / 0.586 GB, free: 8.453 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.4053, allocations: 145.1 kB / 0.5862 GB, free: 8.312 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4053, allocations: 0 / 0.5862 GB, free: 8.312 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002316/0.4055, allocations: 12 kB / 0.5862 GB, free: 8.301 MB / 414.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.0004694/0.406, allocations: 0.8092 MB / 0.587 GB, free: 7.461 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.585e-05/0.406, allocations: 3.984 kB / 0.587 GB, free: 7.457 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.406, allocations: 0 / 0.587 GB, free: 7.457 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.43e-06/0.406, allocations: 7.938 kB / 0.587 GB, free: 7.449 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006053/0.4066, allocations: 0.5036 MB / 0.5875 GB, free: 6.941 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.4082, allocations: 1.643 MB / 0.5891 GB, free: 5.223 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.4086, allocations: 0.6963 MB / 0.5898 GB, free: 4.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.218e-05/0.4086, allocations: 12.66 kB / 0.5898 GB, free: 4.488 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/0.4086, allocations: 27.42 kB / 0.5898 GB, free: 4.461 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4086, allocations: 0 / 0.5898 GB, free: 4.461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03005/0.4387, allocations: 3.174 MB / 0.5929 GB, free: 1.391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.39, allocations: 3.859 kB / 0.5929 GB, free: 1.387 MB / 414.1 MB " [Timeout remaining time 649] (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: 14.14045456808526] Failed to read output from testmodel.py, exit status != 0: 11.490697158034891 11.506859944 11.103070772 Calling exit ...