Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) 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: translateModel(Physiolibrary.Thermal.Examples.SkinHeatFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow") translateModel(Physiolibrary.Thermal.Examples.SkinHeatFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.09181/0.09181, allocations: 15.28 MB / 31.53 MB, free: 3.992 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 113.3 kB / 36.54 MB, free: 3.27 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 193.1 kB / 41.64 MB, free: 7.137 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 269.5 MB, free: 6.922 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1333/0.1333, allocations: 23.36 MB / 347.2 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 112.3 kB / 419.7 MB, free: 29.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08639/0.08832, allocations: 59.37 MB / 479 MB, free: 2.293 MB / 334.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.SkinHeatFlow): time 0.02709/0.1154, allocations: 21.44 MB / 0.4887 GB, free: 13 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007844/0.1162, allocations: 438.9 kB / 0.4892 GB, free: 12.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.966e-05/0.1163, allocations: 7.938 kB / 0.4892 GB, free: 12.56 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.102e-05/0.1164, allocations: 15.84 kB / 0.4892 GB, free: 12.54 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.059e-05/0.1165, allocations: 51.58 kB / 0.4892 GB, free: 12.49 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.24e-05/0.1166, allocations: 7.984 kB / 0.4892 GB, free: 12.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.1167, allocations: 107.3 kB / 0.4893 GB, free: 12.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.999e-05/0.1168, allocations: 25.11 kB / 0.4894 GB, free: 12.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.489e-05/0.1169, allocations: 35.8 kB / 0.4894 GB, free: 12.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.341e-05/0.1169, allocations: 39.8 kB / 0.4894 GB, free: 12.28 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.1169, allocations: 4 kB / 0.4894 GB, free: 12.28 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.238e-05/0.117, allocations: 4 kB / 0.4894 GB, free: 12.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.117, allocations: 15.94 kB / 0.4895 GB, free: 12.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.033e-05/0.117, allocations: 59.66 kB / 0.4895 GB, free: 12.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.1172, allocations: 87.59 kB / 0.4896 GB, free: 12.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1172, allocations: 0 / 0.4896 GB, free: 12.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1172, allocations: 0 / 0.4896 GB, free: 12.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1172, allocations: 0 / 0.4896 GB, free: 12.11 MB / 366.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.0004023/0.1176, allocations: 414.9 kB / 0.49 GB, free: 11.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.1176, allocations: 8.031 kB / 0.49 GB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.1177, allocations: 12.84 kB / 0.49 GB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.1179, allocations: 216 kB / 0.4902 GB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.1179, allocations: 384 / 0.4902 GB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.1179, allocations: 8.375 kB / 0.4902 GB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.684e-05/0.118, allocations: 65.92 kB / 0.4903 GB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.118, allocations: 0 / 0.4903 GB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.118, allocations: 4 kB / 0.4903 GB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.118, allocations: 0 / 0.4903 GB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.476e-05/0.1181, allocations: 20 kB / 0.4903 GB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.1185, allocations: 487.1 kB / 0.4908 GB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.389e-05/0.1186, allocations: 177.1 kB / 0.4909 GB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.455e-05/0.1186, allocations: 80.14 kB / 0.491 GB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.1186, allocations: 83.28 kB / 0.4911 GB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.1187, allocations: 109.8 kB / 0.4912 GB, free: 10.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.1187, allocations: 0 / 0.4912 GB, free: 10.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 6.559e-05/0.1188, allocations: 41.52 kB / 0.4912 GB, free: 10.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.1188, allocations: 130.6 kB / 0.4914 GB, free: 10.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.119, allocations: 183.7 kB / 0.4915 GB, free: 9.914 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.186e-06/0.119, allocations: 25.7 kB / 0.4916 GB, free: 9.883 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.119, allocations: 112 kB / 0.4917 GB, free: 9.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.119, allocations: 0 / 0.4917 GB, free: 9.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.1191, allocations: 17.72 kB / 0.4917 GB, free: 9.746 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.507e-05/0.1192, allocations: 322.9 kB / 0.492 GB, free: 9.422 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.109e-05/0.1192, allocations: 4 kB / 0.492 GB, free: 9.418 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.143e-06/0.1192, allocations: 4 kB / 0.492 GB, free: 9.414 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.412e-05/0.1192, allocations: 16.8 kB / 0.492 GB, free: 9.395 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1192, allocations: 64 / 0.492 GB, free: 9.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.55e-05/0.1193, allocations: 49.59 kB / 0.4921 GB, free: 9.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/0.1193, allocations: 4 kB / 0.4921 GB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.1193, allocations: 0 / 0.4921 GB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.1194, allocations: 0 / 0.4921 GB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.763e-05/0.1194, allocations: 3.938 kB / 0.4921 GB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1194, allocations: 4 kB / 0.4921 GB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.715e-05/0.1194, allocations: 3.938 kB / 0.4921 GB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.1195, allocations: 3.984 kB / 0.4921 GB, free: 9.32 MB / 366.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 8.137e-05/0.1195, allocations: 197.1 kB / 0.4923 GB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/0.1196, allocations: 116.7 kB / 0.4924 GB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.564e-05/0.1197, allocations: 117.5 kB / 0.4925 GB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.36e-05/0.1197, allocations: 184.2 kB / 0.4927 GB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.232e-05/0.1198, allocations: 184.2 kB / 0.4929 GB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.804e-05/0.1198, allocations: 180.2 kB / 0.493 GB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.1201, allocations: 445.1 kB / 0.4934 GB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.684e-05/0.1201, allocations: 101 kB / 0.4935 GB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.167e-05/0.1201, allocations: 105 kB / 0.4936 GB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-05/0.1202, allocations: 180.2 kB / 0.4938 GB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.874e-05/0.1202, allocations: 180.3 kB / 0.494 GB, free: 7.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.82e-05/0.1203, allocations: 192.1 kB / 0.4942 GB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.18e-05/0.1203, allocations: 176.3 kB / 0.4943 GB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.1204, allocations: 311.7 kB / 0.4946 GB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.946e-05/0.1205, allocations: 194 kB / 0.4948 GB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.944e-05/0.1206, allocations: 184.2 kB / 0.495 GB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.81e-05/0.1207, allocations: 112.9 kB / 0.4951 GB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/0.1207, allocations: 180.2 kB / 0.4953 GB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/0.1208, allocations: 101 kB / 0.4954 GB, free: 5.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.362e-05/0.1209, allocations: 137.2 kB / 0.4955 GB, free: 5.598 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1209, allocations: 0 / 0.4955 GB, free: 5.598 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002164/0.1211, allocations: 15.91 kB / 0.4955 GB, free: 5.582 MB / 366.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 8.238e-05/0.1212, allocations: 174.5 kB / 0.4957 GB, free: 5.398 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.849e-05/0.1212, allocations: 4 kB / 0.4957 GB, free: 5.395 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1212, allocations: 0 / 0.4957 GB, free: 5.395 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.454e-06/0.1212, allocations: 7.938 kB / 0.4957 GB, free: 5.387 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005118/0.1218, allocations: 0.4993 MB / 0.4962 GB, free: 4.887 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/0.1221, allocations: 276.1 kB / 0.4964 GB, free: 4.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.1223, allocations: 0.7 MB / 0.4971 GB, free: 3.863 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.774e-05/0.1223, allocations: 12.64 kB / 0.4971 GB, free: 3.852 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.062e-05/0.1224, allocations: 15.44 kB / 0.4972 GB, free: 3.836 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1224, allocations: 3.938 kB / 0.4972 GB, free: 3.832 MB / 366.1 MB Notification: Performance of Templates: time 0.003362/0.1257, allocations: 1.528 MB / 0.4987 GB, free: 2.328 MB / 366.1 MB make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.makefile (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.sim & ./Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe 2>&1)