Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001341/0.001341, allocations: 109.2 kB / 16.41 MB, free: 6.461 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.001372/0.001372, allocations: 192 kB / 17.34 MB, free: 5.715 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002595/0.002595, allocations: 293 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002784/0.002784, allocations: 95.86 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4607/0.4634, allocations: 86.98 MB / 0.767 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002484/0.4659, allocations: 1.412 MB / 0.7684 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003401/0.4693, allocations: 2.676 MB / 0.771 GB, free: 15.85 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.028e-05/0.4693, allocations: 0 / 0.771 GB, free: 15.85 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.4708, allocations: 0.5788 MB / 0.7716 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.183e-05/0.4709, allocations: 23.91 kB / 0.7716 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 3.737e-06/0.4709, allocations: 0 / 0.7716 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.4711, allocations: 166.9 kB / 0.7718 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.398e-05/0.4712, allocations: 24.34 kB / 0.7718 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.453e-05/0.4713, allocations: 59.67 kB / 0.7719 GB, free: 15 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.4714, allocations: 79.58 kB / 0.7719 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.4714, allocations: 0 / 0.7719 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.4724, allocations: 475.2 kB / 0.7724 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.069e-05/0.4725, allocations: 31.84 kB / 0.7724 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.4726, allocations: 103.4 kB / 0.7725 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006523/0.4732, allocations: 435.9 kB / 0.7729 GB, free: 13.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.4732, allocations: 0 / 0.7729 GB, free: 13.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4732, allocations: 0 / 0.7729 GB, free: 13.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.4732, allocations: 4 kB / 0.7729 GB, free: 13.9 MB / 0.545 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.0008812/0.4741, allocations: 0.5603 MB / 0.7735 GB, free: 13.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.4742, allocations: 12.02 kB / 0.7735 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.4743, allocations: 108 kB / 0.7736 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.4746, allocations: 294.5 kB / 0.7739 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.677e-05/0.4747, allocations: 158.9 kB / 0.774 GB, free: 12.69 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.98e-05/0.4748, allocations: 154.9 kB / 0.7742 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.816e-05/0.4748, allocations: 105.5 kB / 0.7743 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.19e-05/0.4749, allocations: 75.47 kB / 0.7743 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.826e-05/0.4749, allocations: 162.4 kB / 0.7745 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.645e-05/0.475, allocations: 150.6 kB / 0.7746 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.415e-05/0.4751, allocations: 154.6 kB / 0.7748 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004352/0.4755, allocations: 0.5367 MB / 0.7753 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.4756, allocations: 173.1 kB / 0.7755 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.4756, allocations: 84.14 kB / 0.7756 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.4757, allocations: 79.28 kB / 0.7756 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.715e-05/0.4757, allocations: 105.8 kB / 0.7757 GB, free: 10.85 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.4757, allocations: 0 / 0.7757 GB, free: 10.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001829/0.4759, allocations: 57.48 kB / 0.7758 GB, free: 10.79 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.504e-05/0.476, allocations: 134.6 kB / 0.7759 GB, free: 10.64 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004884/0.4765, allocations: 437.3 kB / 0.7763 GB, free: 10.21 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.4765, allocations: 25.7 kB / 0.7764 GB, free: 10.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.529e-05/0.4766, allocations: 128.6 kB / 0.7765 GB, free: 10.05 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-06/0.4766, allocations: 0 / 0.7765 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.4767, allocations: 97.66 kB / 0.7766 GB, free: 9.945 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.4769, allocations: 338.8 kB / 0.7769 GB, free: 9.605 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.477, allocations: 96.5 kB / 0.777 GB, free: 9.508 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.4772, allocations: 165.3 kB / 0.7772 GB, free: 9.328 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.4776, allocations: 305.6 kB / 0.7774 GB, free: 9.008 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.4776, allocations: 0 / 0.7774 GB, free: 9.008 MB / 0.545 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005342/0.4781, allocations: 329.2 kB / 0.7778 GB, free: 8.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.4781, allocations: 12.06 kB / 0.7778 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.4781, allocations: 3.938 kB / 0.7778 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.4782, allocations: 7.984 kB / 0.7778 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.186e-06/0.4782, allocations: 3.938 kB / 0.7778 GB, free: 8.652 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.4782, allocations: 8 kB / 0.7778 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.4783, allocations: 47.52 kB / 0.7778 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.4783, allocations: 7.984 kB / 0.7778 GB, free: 8.59 MB / 0.545 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.0002402/0.4786, allocations: 243.5 kB / 0.7781 GB, free: 8.344 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.545e-05/0.4787, allocations: 128.7 kB / 0.7782 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.729e-05/0.4787, allocations: 114.9 kB / 0.7783 GB, free: 8.094 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.111e-05/0.4788, allocations: 176.3 kB / 0.7785 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.008e-05/0.4789, allocations: 192.2 kB / 0.7787 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.909e-05/0.479, allocations: 176.3 kB / 0.7788 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003444/0.4793, allocations: 477.1 kB / 0.7793 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.168e-05/0.4794, allocations: 108.9 kB / 0.7794 GB, free: 6.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.362e-05/0.4794, allocations: 101 kB / 0.7795 GB, free: 6.797 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-05/0.4795, allocations: 184.2 kB / 0.7797 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.452e-05/0.4796, allocations: 184.2 kB / 0.7798 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.648e-05/0.4797, allocations: 184.2 kB / 0.78 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.797e-05/0.4797, allocations: 180.3 kB / 0.7802 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.4799, allocations: 323.9 kB / 0.7805 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.48, allocations: 205.9 kB / 0.7807 GB, free: 5.484 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.4802, allocations: 188.2 kB / 0.7809 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.4803, allocations: 105 kB / 0.781 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.634e-05/0.4804, allocations: 184.2 kB / 0.7811 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.231e-05/0.4804, allocations: 108.9 kB / 0.7812 GB, free: 4.883 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000287/0.4807, allocations: 275.1 kB / 0.7815 GB, free: 4.613 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.4807, allocations: 0 / 0.7815 GB, free: 4.613 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003813/0.4811, allocations: 83.88 kB / 0.7816 GB, free: 4.531 MB / 0.545 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.0003749/0.4815, allocations: 312.2 kB / 0.7819 GB, free: 4.219 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002023/0.4817, allocations: 119.9 kB / 0.782 GB, free: 4.102 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.4817, allocations: 4 kB / 0.782 GB, free: 4.098 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.537e-06/0.4817, allocations: 3.938 kB / 0.782 GB, free: 4.094 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.4821, allocations: 462.6 kB / 0.7825 GB, free: 3.637 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006506/0.4828, allocations: 0.4968 MB / 0.7829 GB, free: 3.109 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.4832, allocations: 0.7743 MB / 0.7837 GB, free: 2.309 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.479e-05/0.4832, allocations: 8 kB / 0.7837 GB, free: 2.301 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.673e-05/0.4832, allocations: 7.438 kB / 0.7837 GB, free: 2.297 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.4832, allocations: 0 / 0.7837 GB, free: 2.297 MB / 0.545 GB Notification: Performance of Templates: time 0.006963/0.4902, allocations: 3.091 MB / 0.7867 GB, free: 15.22 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)