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.001247/0.001247, allocations: 105.3 kB / 16.41 MB, free: 6.488 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.001366/0.001366, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00378/0.00378, allocations: 292.9 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 0.9624/0.9624, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 95.84 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4295/0.4314, allocations: 86.98 MB / 0.767 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002684/0.4342, allocations: 1.413 MB / 0.7684 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003188/0.4374, allocations: 2.676 MB / 0.771 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.103e-05/0.4375, allocations: 0 / 0.771 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001797/0.4393, allocations: 0.585 MB / 0.7716 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.09e-05/0.4393, allocations: 19.91 kB / 0.7716 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.629e-06/0.4394, allocations: 0 / 0.7716 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002528/0.4396, allocations: 162.9 kB / 0.7718 GB, free: 15.01 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.837e-05/0.4397, allocations: 28.41 kB / 0.7718 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.755e-05/0.4398, allocations: 63.66 kB / 0.7719 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.4399, allocations: 83.58 kB / 0.7719 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.44, allocations: 0 / 0.7719 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.4411, allocations: 471.3 kB / 0.7724 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.175e-05/0.4411, allocations: 39.81 kB / 0.7724 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.4413, allocations: 91.38 kB / 0.7725 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006775/0.4419, allocations: 442.2 kB / 0.7729 GB, free: 13.81 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.442, allocations: 4 kB / 0.7729 GB, free: 13.81 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.442, allocations: 0 / 0.7729 GB, free: 13.81 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.442, allocations: 0 / 0.7729 GB, free: 13.81 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.0007605/0.4427, allocations: 0.5412 MB / 0.7735 GB, free: 13.21 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.4428, allocations: 16.03 kB / 0.7735 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.443, allocations: 107.8 kB / 0.7736 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.4432, allocations: 294.4 kB / 0.7739 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.506e-05/0.4433, allocations: 158.9 kB / 0.774 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.731e-05/0.4434, allocations: 154.9 kB / 0.7742 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.438e-05/0.4434, allocations: 105.5 kB / 0.7743 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.728e-05/0.4435, allocations: 83.47 kB / 0.7743 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.289e-05/0.4435, allocations: 154.5 kB / 0.7745 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.544e-05/0.4436, allocations: 154.5 kB / 0.7746 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.13e-05/0.4437, allocations: 150.6 kB / 0.7748 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.444, allocations: 0.5405 MB / 0.7753 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.86e-05/0.4441, allocations: 169.1 kB / 0.7755 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.159e-05/0.4442, allocations: 80.14 kB / 0.7755 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.4442, allocations: 75.28 kB / 0.7756 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.007e-05/0.4443, allocations: 105.8 kB / 0.7757 GB, free: 10.78 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.4443, allocations: 0 / 0.7757 GB, free: 10.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001773/0.4445, allocations: 61.3 kB / 0.7758 GB, free: 10.71 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.4445, allocations: 130.6 kB / 0.7759 GB, free: 10.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004308/0.445, allocations: 437.2 kB / 0.7763 GB, free: 10.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.445, allocations: 29.7 kB / 0.7763 GB, free: 10.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.78e-05/0.4451, allocations: 132.5 kB / 0.7765 GB, free: 9.969 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.4451, allocations: 0 / 0.7765 GB, free: 9.969 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.839e-05/0.4452, allocations: 85.67 kB / 0.7766 GB, free: 9.879 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.4453, allocations: 338.8 kB / 0.7769 GB, free: 9.539 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.4455, allocations: 104.5 kB / 0.777 GB, free: 9.434 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.4456, allocations: 169.3 kB / 0.7771 GB, free: 9.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.4459, allocations: 301.6 kB / 0.7774 GB, free: 8.934 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.446, allocations: 8 kB / 0.7774 GB, free: 8.926 MB / 0.545 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005001/0.4465, allocations: 332.8 kB / 0.7778 GB, free: 8.594 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.4465, allocations: 8 kB / 0.7778 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.4465, allocations: 3.938 kB / 0.7778 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.4465, allocations: 4 kB / 0.7778 GB, free: 8.578 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-06/0.4465, allocations: 0 / 0.7778 GB, free: 8.578 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.4465, allocations: 4 kB / 0.7778 GB, free: 8.574 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.4467, allocations: 39.38 kB / 0.7778 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.4467, allocations: 4 kB / 0.7778 GB, free: 8.531 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.0002301/0.4469, allocations: 247.7 kB / 0.778 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.615e-05/0.447, allocations: 128.6 kB / 0.7782 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.229e-05/0.4471, allocations: 122.8 kB / 0.7783 GB, free: 8.023 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.804e-05/0.4472, allocations: 180.2 kB / 0.7785 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.086e-05/0.4472, allocations: 180.2 kB / 0.7786 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.449e-05/0.4473, allocations: 188.2 kB / 0.7788 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003042/0.4476, allocations: 477.1 kB / 0.7793 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.685e-05/0.4477, allocations: 105 kB / 0.7794 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.429e-05/0.4477, allocations: 104.9 kB / 0.7795 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.744e-05/0.4478, allocations: 176.3 kB / 0.7796 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.8e-05/0.4478, allocations: 180.2 kB / 0.7798 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.054e-05/0.4479, allocations: 196.2 kB / 0.78 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.669e-05/0.448, allocations: 180.2 kB / 0.7802 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.4482, allocations: 319.6 kB / 0.7805 GB, free: 5.641 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.934e-05/0.4483, allocations: 205.8 kB / 0.7807 GB, free: 5.414 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.8e-05/0.4484, allocations: 192.2 kB / 0.7809 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.4485, allocations: 105 kB / 0.781 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/0.4486, allocations: 180.2 kB / 0.7811 GB, free: 4.926 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/0.4486, allocations: 105 kB / 0.7812 GB, free: 4.816 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002666/0.4489, allocations: 275.1 kB / 0.7815 GB, free: 4.547 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4489, allocations: 4 kB / 0.7815 GB, free: 4.543 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004107/0.4493, allocations: 87.92 kB / 0.7816 GB, free: 4.457 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.0003989/0.4497, allocations: 309.1 kB / 0.7819 GB, free: 4.148 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002286/0.45, allocations: 167.8 kB / 0.782 GB, free: 3.984 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.45, allocations: 0 / 0.782 GB, free: 3.984 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.45, allocations: 0 / 0.782 GB, free: 3.984 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.4504, allocations: 465.6 kB / 0.7825 GB, free: 3.523 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006584/0.451, allocations: 0.515 MB / 0.783 GB, free: 2.973 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.4514, allocations: 0.7782 MB / 0.7837 GB, free: 2.168 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.865e-05/0.4514, allocations: 7.438 kB / 0.7837 GB, free: 2.164 MB / 0.545 GB Notification: Performance of SimCode: time 1.763e-06/0.4514, allocations: 0 / 0.7837 GB, free: 2.164 MB / 0.545 GB Notification: Performance of Templates: time 0.005052/0.4565, allocations: 3.156 MB / 0.7868 GB, free: 15.01 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)