Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.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: "" <> buildModelFMU(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005429/0.005429, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001175/0.001175, allocations: 196.1 kB / 16.67 MB, free: 5.977 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002133/0.002133, allocations: 282.7 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9744/0.9744, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 104.7 kB / 0.6809 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1547, allocations: 86.97 MB / 0.7659 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002451/0.1572, allocations: 1.403 MB / 0.7673 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002231/0.1595, allocations: 1.92 MB / 0.7691 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.593e-05/0.1595, allocations: 0 / 0.7691 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.1606, allocations: 391.7 kB / 0.7695 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.13e-05/0.1607, allocations: 15.86 kB / 0.7695 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.308e-06/0.1607, allocations: 0 / 0.7695 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.1609, allocations: 123.2 kB / 0.7696 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.193e-05/0.161, allocations: 17.5 kB / 0.7697 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.19e-05/0.1611, allocations: 51.72 kB / 0.7697 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.1612, allocations: 63.7 kB / 0.7698 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.1612, allocations: 4 kB / 0.7698 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004604/0.1617, allocations: 187.9 kB / 0.7699 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.665e-05/0.1617, allocations: 31.84 kB / 0.77 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.586e-05/0.1618, allocations: 71.61 kB / 0.77 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004231/0.1622, allocations: 287.1 kB / 0.7703 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1622, allocations: 4 kB / 0.7703 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1622, allocations: 0 / 0.7703 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.1623, allocations: 0 / 0.7703 GB, free: 4.375 MB / 0.5606 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.0006759/0.1629, allocations: 0.4907 MB / 0.7708 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.163, allocations: 8.031 kB / 0.7708 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.928e-05/0.163, allocations: 114 kB / 0.7709 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.1632, allocations: 96.03 kB / 0.771 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.1634, allocations: 291.2 kB / 0.7713 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.832e-05/0.1635, allocations: 150.9 kB / 0.7714 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.304e-05/0.1635, allocations: 162.9 kB / 0.7716 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.625e-05/0.1636, allocations: 108.9 kB / 0.7717 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.1636, allocations: 79.28 kB / 0.7718 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.161e-05/0.1637, allocations: 150.6 kB / 0.7719 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.534e-05/0.1637, allocations: 150.6 kB / 0.7721 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.61e-05/0.1638, allocations: 154.6 kB / 0.7722 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.1641, allocations: 0.5056 MB / 0.7727 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.862e-05/0.1642, allocations: 177 kB / 0.7729 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.388e-05/0.1642, allocations: 80.14 kB / 0.7729 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.1642, allocations: 79.22 kB / 0.773 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.1643, allocations: 109.8 kB / 0.7731 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1643, allocations: 0 / 0.7731 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.0001684/0.1645, allocations: 53.55 kB / 0.7732 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.1645, allocations: 134.6 kB / 0.7733 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.1648, allocations: 314.3 kB / 0.7736 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.1648, allocations: 29.69 kB / 0.7736 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.527e-05/0.1649, allocations: 116.4 kB / 0.7737 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/0.1649, allocations: 0 / 0.7737 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.955e-05/0.165, allocations: 65.69 kB / 0.7738 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1651, allocations: 334.8 kB / 0.7741 GB, free: 256 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.208e-05/0.1652, allocations: 59.95 kB / 0.7742 GB, free: 196 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.1653, allocations: 121.9 kB / 0.7743 GB, free: 52 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.31/0.4753, allocations: 204.2 kB / 0.7745 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.4753, allocations: 0 / 0.7745 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005114/0.4758, allocations: 234.6 kB / 0.7747 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.4759, allocations: 9.938 kB / 0.7747 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.4759, allocations: 1.438 kB / 0.7747 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.4759, allocations: 2.469 kB / 0.7747 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.286e-06/0.4759, allocations: 2.594 kB / 0.7747 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.4759, allocations: 5.016 kB / 0.7747 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.4761, allocations: 35.69 kB / 0.7748 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.4761, allocations: 5.672 kB / 0.7748 GB, free: 15.02 MB / 0.5606 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.0001934/0.4763, allocations: 229.3 kB / 0.775 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.197e-05/0.4763, allocations: 116.2 kB / 0.7751 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.115e-05/0.4764, allocations: 114.8 kB / 0.7752 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/0.4764, allocations: 179.5 kB / 0.7754 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.431e-05/0.4764, allocations: 182.9 kB / 0.7756 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.378e-05/0.4765, allocations: 180.2 kB / 0.7757 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.4767, allocations: 457.5 kB / 0.7762 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/0.4767, allocations: 106 kB / 0.7763 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.319e-05/0.4767, allocations: 103.2 kB / 0.7764 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.383e-05/0.4767, allocations: 184 kB / 0.7765 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.4768, allocations: 178.3 kB / 0.7767 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.156e-05/0.4768, allocations: 186 kB / 0.7769 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.96e-05/0.4768, allocations: 181.2 kB / 0.7771 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.794e-05/0.4769, allocations: 331.7 kB / 0.7774 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.477, allocations: 198.8 kB / 0.7776 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/0.477, allocations: 182 kB / 0.7777 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.892e-05/0.4771, allocations: 104.8 kB / 0.7778 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.4772, allocations: 178 kB / 0.778 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.4772, allocations: 106.8 kB / 0.7781 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002058/0.4774, allocations: 216.9 kB / 0.7783 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4774, allocations: 3.453 kB / 0.7783 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003578/0.4778, allocations: 66.05 kB / 0.7784 GB, free: 11.5 MB / 0.5606 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.0003982/0.4782, allocations: 0.9151 MB / 0.7793 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000172/0.4783, allocations: 107.4 kB / 0.7794 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4783, allocations: 3.344 kB / 0.7794 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/0.4784, allocations: 0 / 0.7794 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.4786, allocations: 461.7 kB / 0.7798 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.4807, allocations: 2.435 MB / 0.7822 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.4809, allocations: 0.7352 MB / 0.7829 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.465e-05/0.4809, allocations: 6.734 kB / 0.7829 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/0.481, allocations: 38.12 kB / 0.783 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.481, allocations: 3.781 kB / 0.783 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.5007, allocations: 4.942 MB / 0.7878 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.578/8.079, allocations: 9.688 kB / 0.7878 GB, free: 7.449 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)