Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.661/1.661, allocations: 292.3 MB / 308.1 MB, free: 4.254 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.001323/0.001323, allocations: 184.2 kB / 376.9 MB, free: 1.809 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.701/1.701, allocations: 205.1 MB / 0.6354 GB, free: 9.758 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.001037/0.001037, allocations: 94.47 kB / 0.748 GB, free: 61.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 59.89 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3119, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003746/0.3157, allocations: 1.477 MB / 0.9837 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003451/0.3192, allocations: 2.646 MB / 0.9862 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.542e-05/0.3193, allocations: 0 / 0.9862 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001991/0.3213, allocations: 0.5443 MB / 0.9868 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.159e-05/0.3214, allocations: 23.84 kB / 0.9868 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.469e-06/0.3214, allocations: 3.938 kB / 0.9868 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002914/0.3217, allocations: 178.9 kB / 0.987 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.734e-05/0.3218, allocations: 32.41 kB / 0.987 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.829e-05/0.3219, allocations: 55.69 kB / 0.9871 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.3221, allocations: 83.58 kB / 0.9871 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.3221, allocations: 0 / 0.9871 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.3234, allocations: 495.2 kB / 0.9876 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.568e-05/0.3235, allocations: 43.75 kB / 0.9877 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.3236, allocations: 95.42 kB / 0.9877 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0008202/0.3245, allocations: 394.3 kB / 0.9881 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3245, allocations: 0 / 0.9881 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3245, allocations: 0 / 0.9881 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.3245, allocations: 0 / 0.9881 GB, free: 4.301 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.001065/0.3256, allocations: 0.549 MB / 0.9887 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.162e-05/0.3256, allocations: 12.03 kB / 0.9887 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002318/0.3259, allocations: 107.8 kB / 0.9888 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/0.3262, allocations: 294.4 kB / 0.9891 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.206e-05/0.3263, allocations: 154.9 kB / 0.9892 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-05/0.3265, allocations: 154.9 kB / 0.9893 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.476e-05/0.3266, allocations: 105.5 kB / 0.9894 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.309e-05/0.3266, allocations: 79.47 kB / 0.9895 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001647/0.3268, allocations: 154.5 kB / 0.9897 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.992e-05/0.3269, allocations: 150.6 kB / 0.9898 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.934e-05/0.327, allocations: 154.5 kB / 0.99 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005883/0.3276, allocations: 0.5367 MB / 0.9905 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.952e-05/0.3277, allocations: 165.1 kB / 0.9906 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.937e-05/0.3277, allocations: 80.14 kB / 0.9907 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.075e-05/0.3278, allocations: 75.28 kB / 0.9908 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.636e-05/0.3279, allocations: 105.8 kB / 0.9909 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.633e-06/0.3279, allocations: 0 / 0.9909 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 0.0002582/0.3281, allocations: 73.19 kB / 0.991 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.663e-05/0.3282, allocations: 130.7 kB / 0.9911 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005522/0.3288, allocations: 429.2 kB / 0.9915 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.3288, allocations: 25.7 kB / 0.9915 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.3289, allocations: 132.5 kB / 0.9916 GB, free: 488 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-06/0.329, allocations: 0 / 0.9916 GB, free: 488 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.3291, allocations: 89.66 kB / 0.9917 GB, free: 392 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.3293, allocations: 342.8 kB / 0.9921 GB, free: 40 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.3294, allocations: 100.5 kB / 0.9922 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.3296, allocations: 165.2 kB / 0.9923 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/0.33, allocations: 309.7 kB / 0.9926 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.33, allocations: 0 / 0.9926 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005441/0.3305, allocations: 336.8 kB / 0.9929 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.3306, allocations: 4 kB / 0.9929 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.3306, allocations: 3.938 kB / 0.9929 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.3306, allocations: 7.984 kB / 0.9929 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.234e-06/0.3306, allocations: 0 / 0.9929 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.3306, allocations: 4 kB / 0.9929 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.3309, allocations: 51.36 kB / 0.993 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.3309, allocations: 11.94 kB / 0.993 GB, free: 15.02 MB / 0.7292 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.0003025/0.3312, allocations: 249.2 kB / 0.9932 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.3313, allocations: 128.6 kB / 0.9934 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.98e-05/0.3314, allocations: 118.9 kB / 0.9935 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.405e-05/0.3315, allocations: 180.2 kB / 0.9937 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.388e-05/0.3315, allocations: 176.3 kB / 0.9938 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.262e-05/0.3316, allocations: 184.2 kB / 0.994 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/0.3319, allocations: 473.2 kB / 0.9945 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.34e-05/0.332, allocations: 105 kB / 0.9946 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.752e-05/0.332, allocations: 104.9 kB / 0.9947 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.179e-05/0.3321, allocations: 184.2 kB / 0.9948 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.305e-05/0.3321, allocations: 188.1 kB / 0.995 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.926e-05/0.3322, allocations: 180.3 kB / 0.9952 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.592e-05/0.3322, allocations: 176.3 kB / 0.9953 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004099/0.3327, allocations: 0.9149 MB / 0.9962 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.3328, allocations: 209.8 kB / 0.9964 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.3329, allocations: 184.2 kB / 0.9966 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.333, allocations: 101 kB / 0.9967 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.004e-05/0.3331, allocations: 180.3 kB / 0.9969 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-05/0.3332, allocations: 108.9 kB / 0.997 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00029/0.3335, allocations: 279.1 kB / 0.9973 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3335, allocations: 4 kB / 0.9973 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005473/0.334, allocations: 76 kB / 0.9973 GB, free: 10.32 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.0004304/0.3345, allocations: 298.8 kB / 0.9976 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002571/0.3347, allocations: 159.9 kB / 0.9978 GB, free: 9.867 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3348, allocations: 0 / 0.9978 GB, free: 9.867 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.591e-06/0.3348, allocations: 0 / 0.9978 GB, free: 9.867 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004764/0.3352, allocations: 0.5398 MB / 0.9983 GB, free: 9.32 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007623/0.336, allocations: 0.5356 MB / 0.9988 GB, free: 8.758 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.3364, allocations: 0.7746 MB / 0.9996 GB, free: 7.957 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.068e-05/0.3364, allocations: 7.984 kB / 0.9996 GB, free: 7.949 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.852e-05/0.3365, allocations: 7.438 kB / 0.9996 GB, free: 7.941 MB / 0.7292 GB Notification: Performance of SimCode: time 3.6e-07/0.3365, allocations: 0 / 0.9996 GB, free: 7.941 MB / 0.7292 GB Notification: Performance of Templates: time 0.006729/0.3432, allocations: 2.868 MB / 1.002 GB, free: 5.07 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)