Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.651/1.651, allocations: 292.3 MB / 308.1 MB, free: 4.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001422/0.001422, allocations: 188.1 kB / 376.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.762/1.762, allocations: 205.1 MB / 0.6354 GB, free: 9.762 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009679/0.0009677, allocations: 104 kB / 0.748 GB, free: 61.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 55.92 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3165, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003495/0.32, allocations: 1.458 MB / 0.9836 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002706/0.3227, allocations: 1.914 MB / 0.9855 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.226e-05/0.3228, allocations: 0 / 0.9855 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.3242, allocations: 370.1 kB / 0.9859 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.81e-05/0.3243, allocations: 19.91 kB / 0.9859 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 3.196e-06/0.3243, allocations: 0 / 0.9859 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.3246, allocations: 135.2 kB / 0.986 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.189e-05/0.3247, allocations: 21.5 kB / 0.986 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.396e-05/0.3248, allocations: 43.73 kB / 0.9861 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.3249, allocations: 67.7 kB / 0.9861 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.3249, allocations: 0 / 0.9861 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005865/0.3255, allocations: 187.9 kB / 0.9863 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.654e-05/0.3256, allocations: 35.78 kB / 0.9864 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.934e-05/0.3258, allocations: 75.61 kB / 0.9864 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006355/0.3264, allocations: 283.2 kB / 0.9867 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3264, allocations: 0 / 0.9867 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.92e-07/0.3264, allocations: 0 / 0.9867 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.3264, allocations: 0 / 0.9867 GB, free: 5.754 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0009361/0.3274, allocations: 0.4889 MB / 0.9872 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.3274, allocations: 12.02 kB / 0.9872 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002313/0.3277, allocations: 96.03 kB / 0.9873 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.328, allocations: 283.3 kB / 0.9875 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.368e-05/0.3281, allocations: 158.9 kB / 0.9877 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-05/0.3282, allocations: 162.9 kB / 0.9879 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.039e-05/0.3283, allocations: 109.1 kB / 0.988 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.866e-05/0.3283, allocations: 75.28 kB / 0.988 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.461e-05/0.3284, allocations: 150.6 kB / 0.9882 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-05/0.3285, allocations: 154.6 kB / 0.9883 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.233e-05/0.3286, allocations: 150.6 kB / 0.9885 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004764/0.329, allocations: 0.5094 MB / 0.989 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.3292, allocations: 177 kB / 0.9891 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.89e-05/0.3292, allocations: 80.14 kB / 0.9892 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.484e-05/0.3293, allocations: 75.28 kB / 0.9893 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.547e-05/0.3294, allocations: 109.8 kB / 0.9894 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.683e-06/0.3294, allocations: 4 kB / 0.9894 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 0.0002303/0.3296, allocations: 49.56 kB / 0.9894 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.191e-05/0.3297, allocations: 130.6 kB / 0.9896 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004142/0.3301, allocations: 322.3 kB / 0.9899 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.3301, allocations: 29.7 kB / 0.9899 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.731e-05/0.3302, allocations: 116.3 kB / 0.99 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-06/0.3302, allocations: 0 / 0.99 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.3303, allocations: 61.69 kB / 0.9901 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3305, allocations: 334.8 kB / 0.9904 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.721e-05/0.3306, allocations: 63.95 kB / 0.9904 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.3308, allocations: 114.6 kB / 0.9906 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.3311, allocations: 217.8 kB / 0.9908 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3311, allocations: 0 / 0.9908 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005039/0.3316, allocations: 229.2 kB / 0.991 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.3316, allocations: 4 kB / 0.991 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.3316, allocations: 8 kB / 0.991 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.3316, allocations: 0 / 0.991 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.292e-06/0.3317, allocations: 7.984 kB / 0.991 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.3317, allocations: 3.938 kB / 0.991 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.3318, allocations: 35.58 kB / 0.991 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.3318, allocations: 8.156 kB / 0.991 GB, free: 1.027 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0003112/0.3322, allocations: 229 kB / 0.9913 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.3323, allocations: 120.7 kB / 0.9914 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.612e-05/0.3324, allocations: 113.8 kB / 0.9915 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.937e-05/0.3325, allocations: 176.3 kB / 0.9917 GB, free: 380 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001001/0.3326, allocations: 192.2 kB / 0.9918 GB, free: 180 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001006/0.3327, allocations: 180.3 kB / 0.992 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003727/0.3331, allocations: 449.2 kB / 0.9924 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.053e-05/0.3331, allocations: 108.9 kB / 0.9925 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.99e-05/0.3332, allocations: 104.9 kB / 0.9926 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.755e-05/0.3333, allocations: 180.2 kB / 0.9928 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.615e-05/0.3334, allocations: 184.3 kB / 0.993 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.718e-05/0.3335, allocations: 180.2 kB / 0.9932 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.339e-05/0.3336, allocations: 188.2 kB / 0.9933 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005136/0.3341, allocations: 0.8957 MB / 0.9942 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.3342, allocations: 197.8 kB / 0.9944 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.3343, allocations: 180.3 kB / 0.9946 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.3345, allocations: 101 kB / 0.9947 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.862e-05/0.3346, allocations: 180.2 kB / 0.9948 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.688e-05/0.3346, allocations: 105 kB / 0.9949 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002373/0.3349, allocations: 221.9 kB / 0.9952 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3349, allocations: 0 / 0.9952 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005099/0.3354, allocations: 67.94 kB / 0.9952 GB, free: 12.48 MB / 0.7292 GB 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.0004075/0.3358, allocations: 274.8 kB / 0.9955 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001976/0.336, allocations: 103.8 kB / 0.9956 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.336, allocations: 0 / 0.9956 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.178e-06/0.336, allocations: 4 kB / 0.9956 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000502/0.3365, allocations: 0.5195 MB / 0.9961 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000697/0.3372, allocations: 427 kB / 0.9965 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.3376, allocations: 0.7394 MB / 0.9972 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.85e-05/0.3376, allocations: 11.88 kB / 0.9972 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.3377, allocations: 11.42 kB / 0.9972 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of SimCode: time 4.41e-07/0.3377, allocations: 0 / 0.9972 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of Templates: time 0.006101/0.3438, allocations: 2.277 MB / 0.9995 GB, free: 8.066 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)