Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Media.check_Medium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-alpha11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/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 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 Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Physiolibrary.Media.check_Medium,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Media.check_Medium") translateModel(Physiolibrary.Media.check_Medium,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Media.check_Medium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.09772/0.09772, allocations: 15.24 MB / 30.49 MB, free: 3.215 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008861/0.0008861, allocations: 181 kB / 35.56 MB, free: 2.277 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 222.9 MB / 263.4 MB, free: 5.668 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008935/0.0008937, allocations: 90.45 kB / 318.3 MB, free: 3.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.136/0.136, allocations: 20.51 MB / 393.7 MB, free: 43.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004566/0.0004567, allocations: 16 kB / 465.1 MB, free: 5.277 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2959, allocations: 59.29 MB / 0.5121 GB, free: 41.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Media.check_Medium): time 0.01167/0.3076, allocations: 7.868 MB / 0.5198 GB, free: 39.15 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002742/0.3104, allocations: 2.165 MB / 0.5219 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.3105, allocations: 1.094 kB / 0.5219 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004141/0.311, allocations: 48.58 kB / 0.5219 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002309/0.3133, allocations: 0.78 MB / 0.5227 GB, free: 37.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005983/0.3139, allocations: 199.8 kB / 0.5229 GB, free: 37.38 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006422/0.3146, allocations: 432.7 kB / 0.5233 GB, free: 37.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002351/0.3148, allocations: 59.89 kB / 0.5234 GB, free: 37.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.3163, allocations: 449.6 kB / 0.5238 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003681/0.3167, allocations: 250 kB / 0.524 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.726e-05/0.3168, allocations: 8.625 kB / 0.524 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00282/0.3196, allocations: 1.113 MB / 0.5251 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.3197, allocations: 114.2 kB / 0.5252 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.3199, allocations: 135.5 kB / 0.5254 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.3217, allocations: 1.159 MB / 0.5265 GB, free: 36.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3217, allocations: 4 kB / 0.5265 GB, free: 36.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3217, allocations: 0 / 0.5265 GB, free: 36.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.3217, allocations: 0 / 0.5265 GB, free: 36.33 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001008/0.3228, allocations: 0.6644 MB / 0.5271 GB, free: 35.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3228, allocations: 9.594 kB / 0.5272 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007864/0.3236, allocations: 164.2 kB / 0.5273 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.3239, allocations: 261.7 kB / 0.5276 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.3239, allocations: 14.72 kB / 0.5276 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.3e-05/0.3239, allocations: 21.44 kB / 0.5276 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006033/0.3245, allocations: 495.6 kB / 0.5281 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3246, allocations: 3.281 kB / 0.5281 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.3246, allocations: 10.78 kB / 0.5281 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/0.3246, allocations: 27.52 kB / 0.5281 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006219/0.3253, allocations: 0.5695 MB / 0.5287 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.3266, allocations: 1.426 MB / 0.5301 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.327, allocations: 243.3 kB / 0.5303 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.3272, allocations: 174 kB / 0.5305 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001751/0.3273, allocations: 134.3 kB / 0.5306 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.3274, allocations: 42.88 kB / 0.5306 GB, free: 33.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 1.723e-06/0.3274, allocations: 0 / 0.5306 GB, free: 33.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.0007121/0.3281, allocations: 0.5295 MB / 0.5311 GB, free: 33.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.3281, allocations: 54.25 kB / 0.5312 GB, free: 33.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.3283, allocations: 198.4 kB / 0.5314 GB, free: 33.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.3283, allocations: 29.7 kB / 0.5314 GB, free: 33.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/0.3284, allocations: 163.1 kB / 0.5316 GB, free: 33.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.671e-05/0.3285, allocations: 132.6 kB / 0.5317 GB, free: 33.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.3286, allocations: 109.6 kB / 0.5318 GB, free: 33.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.095e-05/0.3286, allocations: 334.8 kB / 0.5321 GB, free: 32.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.3288, allocations: 167.6 kB / 0.5323 GB, free: 32.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/0.3291, allocations: 327.8 kB / 0.5326 GB, free: 32.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004742/0.3296, allocations: 0.5444 MB / 0.5331 GB, free: 32.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3296, allocations: 2.969 kB / 0.5331 GB, free: 32.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006531/0.3302, allocations: 0.5451 MB / 0.5337 GB, free: 31.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3303, allocations: 8.969 kB / 0.5337 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3303, allocations: 13.88 kB / 0.5337 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.3303, allocations: 6.094 kB / 0.5337 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.3306, allocations: 104.6 kB / 0.5338 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.3306, allocations: 11.58 kB / 0.5338 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.3308, allocations: 45.22 kB / 0.5338 GB, free: 31.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/0.3309, allocations: 33.06 kB / 0.5339 GB, free: 31.87 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (48): * Single equations (assignments): 45 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 2 * 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.000137/0.331, allocations: 171.9 kB / 0.534 GB, free: 31.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/0.3311, allocations: 21.69 kB / 0.5341 GB, free: 31.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009866/0.3321, allocations: 0.636 MB / 0.5347 GB, free: 31.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.3321, allocations: 2.906 kB / 0.5347 GB, free: 31.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.3321, allocations: 6.094 kB / 0.5347 GB, free: 31.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.3322, allocations: 3.375 kB / 0.5347 GB, free: 31.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.3324, allocations: 292.2 kB / 0.535 GB, free: 31.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3324, allocations: 4 kB / 0.535 GB, free: 31.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.3326, allocations: 44 kB / 0.535 GB, free: 31.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.3326, allocations: 2.906 kB / 0.535 GB, free: 31.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.3326, allocations: 9.156 kB / 0.535 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3326, allocations: 0 / 0.535 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3326, allocations: 0 / 0.535 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.333, allocations: 315.3 kB / 0.5353 GB, free: 30.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.743e-05/0.3331, allocations: 122.3 kB / 0.5354 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.3331, allocations: 22.3 kB / 0.5355 GB, free: 30.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.639e-05/0.3332, allocations: 7.062 kB / 0.5355 GB, free: 30.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.3333, allocations: 19.16 kB / 0.5355 GB, free: 30.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.3333, allocations: 11.75 kB / 0.5355 GB, free: 30.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001286/0.3334, allocations: 189 kB / 0.5357 GB, free: 30.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3334, allocations: 0 / 0.5357 GB, free: 30.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008353/0.3343, allocations: 269.9 kB / 0.5359 GB, free: 30.65 MB / 378.7 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 (19): * Single equations (assignments): 17 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0008579/0.3351, allocations: 0.5484 MB / 0.5365 GB, free: 30.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004947/0.3356, allocations: 383.6 kB / 0.5368 GB, free: 30.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.3357, allocations: 0 / 0.5368 GB, free: 30.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.3358, allocations: 131.8 kB / 0.537 GB, free: 30.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/0.3363, allocations: 75.86 kB / 0.537 GB, free: 30.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/0.3395, allocations: 3.11 MB / 0.5401 GB, free: 28.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/0.3397, allocations: 0.7705 MB / 0.5408 GB, free: 27.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006711/0.3404, allocations: 189 kB / 0.541 GB, free: 27.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.3406, allocations: 102.9 kB / 0.5411 GB, free: 27.7 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.3406, allocations: 0 / 0.5411 GB, free: 27.7 MB / 378.7 MB Notification: Performance of Templates: time 0.01297/0.3536, allocations: 9.647 MB / 0.5505 GB, free: 26.82 MB / 378.7 MB make -j1 -f Physiolibrary_Physiolibrary.Media.check_Medium.makefile (rm -f Physiolibrary_Physiolibrary.Media.check_Medium.pipe ; mkfifo Physiolibrary_Physiolibrary.Media.check_Medium.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Media.check_Medium.pipe >> ../files/Physiolibrary_Physiolibrary.Media.check_Medium.sim & ./Physiolibrary_Physiolibrary.Media.check_Medium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Media.check_Medium.pipe 2>&1)