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) 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.MuscleHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat") translateModel(Physiolibrary.Thermal.Examples.MuscleHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.09873/0.09873, allocations: 15.27 MB / 30.91 MB, free: 4.133 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.001126/0.001126, allocations: 103.4 kB / 35.91 MB, free: 3.191 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.001369/0.001369, allocations: 195.3 kB / 41.02 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.392/1.392, allocations: 222.9 MB / 268.9 MB, free: 6.918 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.136/0.136, allocations: 23.36 MB / 346.6 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 107.8 kB / 478.8 MB, free: 1.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2912, allocations: 59.36 MB / 0.5256 GB, free: 8.105 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.02925/0.3205, allocations: 21.94 MB / 0.547 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.3216, allocations: 482 kB / 0.5474 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.936e-05/0.3217, allocations: 4 kB / 0.5475 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.3218, allocations: 26.94 kB / 0.5475 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.322, allocations: 55.34 kB / 0.5475 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001115/0.3221, allocations: 26.17 kB / 0.5476 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.3223, allocations: 149.8 kB / 0.5477 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.3224, allocations: 36.33 kB / 0.5477 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.485e-05/0.3225, allocations: 52.02 kB / 0.5478 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.712e-05/0.3226, allocations: 57.92 kB / 0.5478 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.3226, allocations: 8 kB / 0.5478 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.466e-05/0.3226, allocations: 8 kB / 0.5479 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.3227, allocations: 18.7 kB / 0.5479 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.934e-05/0.3227, allocations: 62.97 kB / 0.5479 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.3229, allocations: 119.8 kB / 0.548 GB, free: 12.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.3229, allocations: 0 / 0.548 GB, free: 12.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3229, allocations: 4 kB / 0.548 GB, free: 12.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.323, allocations: 0 / 0.548 GB, free: 12.31 MB / 398.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.0004968/0.3235, allocations: 442.9 kB / 0.5485 GB, free: 11.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.3235, allocations: 8.031 kB / 0.5485 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.3235, allocations: 21.41 kB / 0.5485 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.3238, allocations: 226.8 kB / 0.5487 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.3238, allocations: 384 / 0.5487 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.3238, allocations: 12.94 kB / 0.5487 GB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.324, allocations: 77.88 kB / 0.5488 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.324, allocations: 0 / 0.5488 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.324, allocations: 0 / 0.5488 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.3241, allocations: 4 kB / 0.5488 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.317e-05/0.3241, allocations: 40.02 kB / 0.5488 GB, free: 11.45 MB / 398.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.0005899/0.3247, allocations: 487 kB / 0.5493 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.3249, allocations: 62.19 kB / 0.5494 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.487e-05/0.3249, allocations: 27.28 kB / 0.5494 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.3249, allocations: 0 / 0.5494 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.325, allocations: 34.56 kB / 0.5494 GB, free: 10.8 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.154e-06/0.325, allocations: 0 / 0.5494 GB, free: 10.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001952/0.3252, allocations: 85.39 kB / 0.5495 GB, free: 10.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.3252, allocations: 56.09 kB / 0.5496 GB, free: 10.65 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.3254, allocations: 183.7 kB / 0.5497 GB, free: 10.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.3254, allocations: 25.7 kB / 0.5498 GB, free: 10.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/0.3255, allocations: 124.4 kB / 0.5499 GB, free: 10.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.3255, allocations: 17.5 kB / 0.5499 GB, free: 10.31 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.3255, allocations: 18.8 kB / 0.5499 GB, free: 10.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.3256, allocations: 331.1 kB / 0.5502 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.912e-05/0.3257, allocations: 13.27 kB / 0.5502 GB, free: 9.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.218e-05/0.3257, allocations: 9.359 kB / 0.5503 GB, free: 9.938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.326, allocations: 79.88 kB / 0.5503 GB, free: 9.863 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.326, allocations: 0 / 0.5503 GB, free: 9.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000114/0.3261, allocations: 72.12 kB / 0.5504 GB, free: 9.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3261, allocations: 12.16 kB / 0.5504 GB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3261, allocations: 3.938 kB / 0.5504 GB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.3262, allocations: 0 / 0.5504 GB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.355e-05/0.3262, allocations: 9.219 kB / 0.5504 GB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3263, allocations: 4.547 kB / 0.5504 GB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.147e-05/0.3263, allocations: 7.891 kB / 0.5504 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.3263, allocations: 4.438 kB / 0.5504 GB, free: 9.754 MB / 398.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.0001315/0.3265, allocations: 128.3 kB / 0.5506 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.3265, allocations: 19.91 kB / 0.5506 GB, free: 9.602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.852e-05/0.3266, allocations: 15.06 kB / 0.5506 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3266, allocations: 0.6562 kB / 0.5506 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3266, allocations: 3.938 kB / 0.5506 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3266, allocations: 0 / 0.5506 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.3268, allocations: 203.1 kB / 0.5508 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3268, allocations: 0.6094 kB / 0.5508 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.151e-05/0.3269, allocations: 13.12 kB / 0.5508 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3269, allocations: 3.938 kB / 0.5508 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.3269, allocations: 4 kB / 0.5508 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3269, allocations: 0.6094 kB / 0.5508 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3269, allocations: 3.938 kB / 0.5508 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.3271, allocations: 188.3 kB / 0.551 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.3272, allocations: 95.44 kB / 0.5511 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.3272, allocations: 0.5625 kB / 0.5511 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.591e-05/0.3273, allocations: 4.766 kB / 0.5511 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.002e-05/0.3273, allocations: 8.594 kB / 0.5511 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.3273, allocations: 0.5156 kB / 0.5511 GB, free: 9.012 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001005/0.3274, allocations: 130.8 kB / 0.5512 GB, free: 8.895 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3274, allocations: 4 kB / 0.5512 GB, free: 8.891 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.3277, allocations: 24 kB / 0.5513 GB, free: 8.867 MB / 398.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 6.621e-05/0.3278, allocations: 92.08 kB / 0.5513 GB, free: 8.766 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001089/0.3279, allocations: 34.77 kB / 0.5514 GB, free: 8.734 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3279, allocations: 4 kB / 0.5514 GB, free: 8.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.099e-05/0.3279, allocations: 21.3 kB / 0.5514 GB, free: 8.711 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.3284, allocations: 68.48 kB / 0.5515 GB, free: 8.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004954/0.3289, allocations: 325.2 kB / 0.5518 GB, free: 8.332 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.3291, allocations: 0.7065 MB / 0.5525 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.511e-05/0.3292, allocations: 20.03 kB / 0.5525 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.3292, allocations: 11.44 kB / 0.5525 GB, free: 7.586 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3292, allocations: 0 / 0.5525 GB, free: 7.586 MB / 398.1 MB Notification: Performance of Templates: time 0.004336/0.3336, allocations: 1.752 MB / 0.5542 GB, free: 6.578 MB / 398.1 MB make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.makefile (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 & ./Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe 2>&1)