Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.conf.json 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/ExternalMedia 4.0.0/package.mo", uses=false) Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.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) Running command: translateModel(ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 104.2 kB / 15.98 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 196.5 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.0117/0.0117, allocations: 2.783 MB / 293.5 MB, free: 12.25 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 55.91 kB / 354.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3203, allocations: 50.23 MB / 404.8 MB, free: 33.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit): time 0.1397/0.46, allocations: 96.34 MB / 0.4894 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2912/0.7513, allocations: 58.85 MB / 0.5468 GB, free: 15.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001576/0.7529, allocations: 8.688 kB / 0.5468 GB, free: 15.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003296/0.7562, allocations: 1.281 MB / 0.5481 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02131/0.7776, allocations: 6.75 MB / 0.5547 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008578/0.7862, allocations: 2.68 MB / 0.5573 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002611/0.7888, allocations: 1.743 MB / 0.559 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002405/0.7891, allocations: 138.3 kB / 0.5591 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006195/0.7953, allocations: 0.7508 MB / 0.5599 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009468/0.7963, allocations: 0.5945 MB / 0.5605 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.7964, allocations: 79.16 kB / 0.5605 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02144/0.8178, allocations: 3.795 MB / 0.5642 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004535/0.8183, allocations: 212 kB / 0.5644 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001352/0.8197, allocations: 0.7068 MB / 0.5651 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005795/0.8255, allocations: 2.831 MB / 0.5679 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.8255, allocations: 0 / 0.5679 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.8255, allocations: 0 / 0.5679 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.8255, allocations: 0 / 0.5679 GB, free: 11.05 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: 438 * Number of variables: 438 Notification: Performance of Generate backend data structure: time 0.003122/0.8286, allocations: 2.009 MB / 0.5699 GB, free: 9.312 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.8287, allocations: 8.031 kB / 0.5699 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004814/0.8335, allocations: 1.406 MB / 0.5712 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007815/0.8343, allocations: 492.9 kB / 0.5717 GB, free: 8.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.518e-05/0.8344, allocations: 92.7 kB / 0.5718 GB, free: 8.023 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.8345, allocations: 104.9 kB / 0.5719 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002721/0.8373, allocations: 1.915 MB / 0.5738 GB, free: 6.738 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/0.8373, allocations: 7.938 kB / 0.5738 GB, free: 6.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.389e-05/0.8374, allocations: 42.25 kB / 0.5738 GB, free: 6.723 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-05/0.8375, allocations: 86.69 kB / 0.5739 GB, free: 6.676 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002405/0.8399, allocations: 1.848 MB / 0.5757 GB, free: 5.641 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008325/0.8482, allocations: 9.194 MB / 0.5847 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.8499, allocations: 0.8047 MB / 0.5855 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009301/0.8508, allocations: 0.6794 MB / 0.5861 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002965/0.8538, allocations: 2.914 MB / 0.589 GB, free: 7.914 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.8538, allocations: 38.5 kB / 0.589 GB, free: 7.867 MB / 414.1 MB Notification: Performance of pre-optimization done (n=194): time 2.505e-06/0.8538, allocations: 0 / 0.589 GB, free: 7.867 MB / 414.1 MB Notification: Performance of matching and sorting (n=194): time 0.0028/0.8566, allocations: 1.382 MB / 0.5904 GB, free: 6.496 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.8567, allocations: 84.98 kB / 0.5904 GB, free: 6.395 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.8569, allocations: 207.6 kB / 0.5906 GB, free: 6.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.857, allocations: 33.7 kB / 0.5907 GB, free: 6.141 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/0.8573, allocations: 444.2 kB / 0.5911 GB, free: 5.695 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004185/0.8577, allocations: 0.6076 MB / 0.5917 GB, free: 5.094 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/0.8579, allocations: 178.1 kB / 0.5919 GB, free: 4.914 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.8581, allocations: 306 kB / 0.5921 GB, free: 4.609 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005254/0.8586, allocations: 306.5 kB / 0.5924 GB, free: 4.312 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007212/0.8593, allocations: 0.5506 MB / 0.593 GB, free: 3.676 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.8607, allocations: 1.017 MB / 0.594 GB, free: 2.566 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.8608, allocations: 4 kB / 0.594 GB, free: 2.562 MB / 414.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.001696/0.8625, allocations: 1.012 MB / 0.595 GB, free: 1.543 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.8625, allocations: 8.875 kB / 0.595 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.8625, allocations: 4 kB / 0.595 GB, free: 1.531 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.8625, allocations: 16 kB / 0.595 GB, free: 1.516 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003962/0.8629, allocations: 107.8 kB / 0.5951 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007147/0.8637, allocations: 1.176 MB / 0.5962 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007561/0.8644, allocations: 166.6 kB / 0.5964 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.867e-05/0.8645, allocations: 32.19 kB / 0.5964 GB, free: 15.99 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 14 (medium2.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium2.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium2.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium2.completeBubbleDewStates.dewStateOnePhase.state.phase,medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium1.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium1.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium1.completeBubbleDewStates.dewStateOnePhase.state.phase,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005504/0.8651, allocations: 297.6 kB / 0.5967 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.8652, allocations: 59.06 kB / 0.5968 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003542/0.8688, allocations: 2.937 MB / 0.5996 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003014/0.8718, allocations: 2.447 MB / 0.602 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.8718, allocations: 4 kB / 0.602 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/0.8718, allocations: 7.969 kB / 0.602 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007494/0.8793, allocations: 5.672 MB / 0.6076 GB, free: 4.539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.8794, allocations: 0 / 0.6076 GB, free: 4.539 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008125/0.8802, allocations: 303.6 kB / 0.6079 GB, free: 4.242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000327/0.8805, allocations: 285.4 kB / 0.6081 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.886e-05/0.8806, allocations: 32 kB / 0.6082 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008122/0.8814, allocations: 1.279 MB / 0.6094 GB, free: 2.598 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8814, allocations: 0 / 0.6094 GB, free: 2.598 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002987/0.8844, allocations: 2.428 MB / 0.6118 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004091/0.8848, allocations: 242.8 kB / 0.612 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.368e-05/0.8849, allocations: 36 kB / 0.6121 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008228/0.8857, allocations: 194.8 kB / 0.6122 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.8859, allocations: 117.8 kB / 0.6124 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.783e-05/0.886, allocations: 48 kB / 0.6124 GB, free: 15.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.8861, allocations: 128.1 kB / 0.6125 GB, free: 15.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8861, allocations: 4 kB / 0.6125 GB, free: 15.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001355/0.8875, allocations: 0.4987 MB / 0.613 GB, free: 14.84 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 22 (medium1.completeState.state.phase,medium1.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium1.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium1.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium1.completeBubbleDewStates.dewStateOnePhase.state.phase,$cse7.phase,$cse8.phase,$cse9.phase,$cse10.phase,$cse12.phase,medium1.baseProperties.phaseOutput,medium2.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium2.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium2.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium2.completeBubbleDewStates.dewStateOnePhase.state.phase,medium2.completeState.state.phase,$cse1.phase,$cse2.phase,$cse3.phase,$cse4.phase,$cse6.phase,medium2.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (204): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008555/0.8883, allocations: 0.5216 MB / 0.6135 GB, free: 14.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005684/0.894, allocations: 2.445 MB / 0.6159 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.8941, allocations: 0 / 0.6159 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001454/0.8955, allocations: 1.083 MB / 0.617 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00426/0.8998, allocations: 0.9732 MB / 0.6179 GB, free: 9.793 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005461/0.9053, allocations: 4.121 MB / 0.6219 GB, free: 5.645 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/0.9066, allocations: 1.41 MB / 0.6233 GB, free: 4.195 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/0.9068, allocations: 107.4 kB / 0.6234 GB, free: 4.09 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/0.9068, allocations: 0 / 0.6234 GB, free: 4.09 MB / 446.1 MB Notification: Performance of Templates: time 0.0446/0.9514, allocations: 38.8 MB / 0.6613 GB, free: 14.13 MB / 494.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.makefile (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.sim & ./ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.pipe 2>&1)