Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001157, allocations: 97.64 kB / 15.36 MB, free: 0.7305 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.001375/0.001375, allocations: 173.2 kB / 16.27 MB, free: 6.664 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.489/1.489, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.971/2.971, allocations: 473.4 MB / 0.7469 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003156, allocations: 12.39 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3573, allocations: 162.2 MB / 1.074 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001636/0.359, allocations: 1.144 MB / 1.075 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004276/0.3633, allocations: 2.597 MB / 1.078 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.848e-05/0.3633, allocations: 0 / 1.078 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002391/0.3658, allocations: 0.5638 MB / 1.078 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.209e-05/0.3659, allocations: 15.91 kB / 1.078 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.038e-06/0.3659, allocations: 4 kB / 1.078 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003566/0.3662, allocations: 170.9 kB / 1.079 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.991e-05/0.3663, allocations: 28.41 kB / 1.079 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.3665, allocations: 59.67 kB / 1.079 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.3667, allocations: 83.58 kB / 1.079 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.3667, allocations: 4 kB / 1.079 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.3682, allocations: 491.2 kB / 1.079 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.153e-05/0.3683, allocations: 35.78 kB / 1.079 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.3685, allocations: 121.1 kB / 1.079 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007783/0.3693, allocations: 394.2 kB / 1.08 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3693, allocations: 0 / 1.08 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.306e-06/0.3693, allocations: 0 / 1.08 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.3693, allocations: 4 kB / 1.08 GB, free: 1.871 MB / 0.8262 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.0009536/0.3703, allocations: 0.5218 MB / 1.08 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.3703, allocations: 12.03 kB / 1.08 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002429/0.3706, allocations: 107.8 kB / 1.08 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.3709, allocations: 302.3 kB / 1.081 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.028e-05/0.371, allocations: 154.9 kB / 1.081 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.131e-05/0.3711, allocations: 154.9 kB / 1.081 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.061e-05/0.3712, allocations: 105.5 kB / 1.081 GB, free: 444 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/0.3712, allocations: 79.41 kB / 1.081 GB, free: 364 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-05/0.3713, allocations: 158.5 kB / 1.081 GB, free: 204 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.729e-05/0.3713, allocations: 158.5 kB / 1.081 GB, free: 44 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.655e-05/0.3714, allocations: 154.5 kB / 1.082 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.3719, allocations: 0.5289 MB / 1.082 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.739e-05/0.372, allocations: 173.1 kB / 1.082 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.88e-05/0.3721, allocations: 80.14 kB / 1.082 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.3721, allocations: 75.28 kB / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/0.3722, allocations: 105.8 kB / 1.082 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.3722, allocations: 4 kB / 1.082 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 0.0002597/0.3725, allocations: 65.19 kB / 1.083 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.3725, allocations: 126.7 kB / 1.083 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006301/0.3732, allocations: 433.2 kB / 1.083 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.3732, allocations: 25.7 kB / 1.083 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.3733, allocations: 132.6 kB / 1.083 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.939e-06/0.3734, allocations: 0 / 1.083 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.3735, allocations: 65.67 kB / 1.083 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.3736, allocations: 350.8 kB / 1.084 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.3738, allocations: 96.5 kB / 1.084 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.3741, allocations: 169.2 kB / 1.084 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004747/0.3746, allocations: 305.6 kB / 1.084 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.3746, allocations: 0 / 1.084 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007514/0.3753, allocations: 336.8 kB / 1.084 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.3754, allocations: 4 kB / 1.084 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.3754, allocations: 7.938 kB / 1.084 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3754, allocations: 0 / 1.084 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.448e-06/0.3754, allocations: 4 kB / 1.084 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3754, allocations: 0 / 1.084 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.3757, allocations: 39.38 kB / 1.085 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.3757, allocations: 4 kB / 1.085 GB, free: 12.64 MB / 0.8419 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.0002936/0.376, allocations: 253.2 kB / 1.085 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.3761, allocations: 128.6 kB / 1.085 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.32e-05/0.3762, allocations: 122.7 kB / 1.085 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-05/0.3763, allocations: 184.2 kB / 1.085 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.748e-05/0.3764, allocations: 176.3 kB / 1.085 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.671e-05/0.3765, allocations: 184.2 kB / 1.086 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/0.3769, allocations: 477.1 kB / 1.086 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.553e-05/0.377, allocations: 105 kB / 1.086 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.862e-05/0.3771, allocations: 104.9 kB / 1.086 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.475e-05/0.3771, allocations: 176.3 kB / 1.086 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-05/0.3772, allocations: 192.1 kB / 1.087 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.1e-05/0.3773, allocations: 180.3 kB / 1.087 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-05/0.3774, allocations: 180.2 kB / 1.087 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.3777, allocations: 319.5 kB / 1.087 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.3778, allocations: 209.6 kB / 1.087 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.378, allocations: 192.2 kB / 1.088 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.3782, allocations: 101 kB / 1.088 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.738e-05/0.3783, allocations: 180.2 kB / 1.088 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.186e-05/0.3783, allocations: 109 kB / 1.088 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004014/0.3787, allocations: 279.1 kB / 1.088 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3788, allocations: 0 / 1.088 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005615/0.3793, allocations: 79.98 kB / 1.088 GB, free: 8.566 MB / 0.8419 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.0004736/0.3798, allocations: 314.1 kB / 1.089 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002998/0.3801, allocations: 163.8 kB / 1.089 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3801, allocations: 0 / 1.089 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.771e-06/0.3801, allocations: 4 kB / 1.089 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005563/0.3807, allocations: 0.5282 MB / 1.089 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008996/0.3816, allocations: 0.5477 MB / 1.09 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/0.3821, allocations: 0.7785 MB / 1.091 GB, free: 6.176 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.898e-05/0.3821, allocations: 4 kB / 1.091 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.05e-05/0.3821, allocations: 7.438 kB / 1.091 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of SimCode: time 2.91e-07/0.3821, allocations: 0 / 1.091 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of Templates: time 0.007393/0.3895, allocations: 2.8 MB / 1.093 GB, free: 3.371 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)