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.005994/0.005994, allocations: 98.17 kB / 15.73 MB, free: 6.012 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.0023/0.0023, allocations: 196.7 kB / 16.68 MB, free: 5.93 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002472/0.002472, allocations: 291.4 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.019/1.019, allocations: 169.2 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002703/0.002703, allocations: 103.8 kB / 0.681 GB, free: 7.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.399, allocations: 86.97 MB / 0.7659 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.0024/0.4015, allocations: 1.397 MB / 0.7673 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002378/0.4039, allocations: 1.941 MB / 0.7691 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.967e-05/0.4039, allocations: 0 / 0.7691 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009359/0.4048, allocations: 385.9 kB / 0.7695 GB, free: 168 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.981e-05/0.4049, allocations: 19.91 kB / 0.7695 GB, free: 148 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.057e-06/0.4049, allocations: 0 / 0.7695 GB, free: 148 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.4051, allocations: 119.2 kB / 0.7696 GB, free: 28 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.489e-05/0.4052, allocations: 33.55 kB / 0.7697 GB, free: 15.99 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.046e-05/0.4053, allocations: 47.67 kB / 0.7697 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.4054, allocations: 59.72 kB / 0.7698 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.4054, allocations: 4 kB / 0.7698 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000449/0.4059, allocations: 179.9 kB / 0.77 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.289e-05/0.406, allocations: 35.88 kB / 0.77 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.44e-05/0.406, allocations: 67.56 kB / 0.7701 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004423/0.4065, allocations: 295.8 kB / 0.7703 GB, free: 15.32 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4065, allocations: 0 / 0.7703 GB, free: 15.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4065, allocations: 4 kB / 0.7703 GB, free: 15.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.228e-06/0.4065, allocations: 3.938 kB / 0.7703 GB, free: 15.32 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.0007194/0.4073, allocations: 498.3 kB / 0.7708 GB, free: 14.78 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.4073, allocations: 12.03 kB / 0.7708 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.95e-05/0.4074, allocations: 106 kB / 0.7709 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.4075, allocations: 92.12 kB / 0.771 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.4078, allocations: 295.4 kB / 0.7713 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.603e-05/0.4079, allocations: 154.9 kB / 0.7715 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.549e-05/0.408, allocations: 158.9 kB / 0.7716 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.666e-05/0.408, allocations: 104.9 kB / 0.7717 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.657e-05/0.4081, allocations: 75.28 kB / 0.7718 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.227e-05/0.4082, allocations: 150.6 kB / 0.7719 GB, free: 13.6 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.255e-05/0.4082, allocations: 154.6 kB / 0.7721 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.396e-05/0.4083, allocations: 150.6 kB / 0.7722 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.4087, allocations: 0.5094 MB / 0.7727 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.422e-05/0.4088, allocations: 165.1 kB / 0.7729 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.364e-05/0.4089, allocations: 88.14 kB / 0.7729 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.4089, allocations: 83.22 kB / 0.773 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.014e-05/0.409, allocations: 105.8 kB / 0.7731 GB, free: 12.28 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.409, allocations: 0 / 0.7731 GB, free: 12.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001844/0.4092, allocations: 53.53 kB / 0.7732 GB, free: 12.22 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/0.4093, allocations: 130.6 kB / 0.7733 GB, free: 12.08 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003559/0.4096, allocations: 322.4 kB / 0.7736 GB, free: 11.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.4097, allocations: 29.7 kB / 0.7736 GB, free: 11.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.412e-05/0.4097, allocations: 116.5 kB / 0.7738 GB, free: 11.61 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-06/0.4097, allocations: 0 / 0.7738 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-05/0.4098, allocations: 61.69 kB / 0.7738 GB, free: 11.54 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.41, allocations: 330.8 kB / 0.7741 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.982e-05/0.4101, allocations: 63.95 kB / 0.7742 GB, free: 11.15 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.4102, allocations: 118.6 kB / 0.7743 GB, free: 11.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.4105, allocations: 209.8 kB / 0.7745 GB, free: 10.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4105, allocations: 0 / 0.7745 GB, free: 10.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004164/0.4109, allocations: 241.2 kB / 0.7747 GB, free: 10.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.4109, allocations: 8 kB / 0.7747 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4109, allocations: 224 / 0.7747 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.411, allocations: 8 kB / 0.7747 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.036e-06/0.411, allocations: 3.938 kB / 0.7747 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.411, allocations: 4 kB / 0.7748 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.4111, allocations: 31.67 kB / 0.7748 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.4111, allocations: 4 kB / 0.7748 GB, free: 10.48 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.0002069/0.4113, allocations: 226.4 kB / 0.775 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.639e-05/0.4114, allocations: 128.8 kB / 0.7751 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.214e-05/0.4115, allocations: 113.8 kB / 0.7752 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.997e-05/0.4116, allocations: 184.2 kB / 0.7754 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-05/0.4117, allocations: 180.2 kB / 0.7756 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.46e-05/0.4117, allocations: 176.3 kB / 0.7757 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.4121, allocations: 453.1 kB / 0.7762 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.958e-05/0.4122, allocations: 121 kB / 0.7763 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.687e-05/0.4122, allocations: 101 kB / 0.7764 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.308e-05/0.4123, allocations: 180.2 kB / 0.7766 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-05/0.4124, allocations: 180.2 kB / 0.7767 GB, free: 8.352 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-05/0.4125, allocations: 184.2 kB / 0.7769 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.208e-05/0.4125, allocations: 176.3 kB / 0.7771 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.4127, allocations: 327.6 kB / 0.7774 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.4128, allocations: 197.9 kB / 0.7776 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.839e-05/0.4129, allocations: 184.2 kB / 0.7778 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.4131, allocations: 105 kB / 0.7779 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.049e-05/0.4132, allocations: 192.1 kB / 0.778 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-05/0.4132, allocations: 105 kB / 0.7781 GB, free: 6.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002173/0.4134, allocations: 209.9 kB / 0.7783 GB, free: 6.621 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4134, allocations: 0 / 0.7783 GB, free: 6.621 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004306/0.4139, allocations: 67.92 kB / 0.7784 GB, free: 6.555 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.0006294/0.4145, allocations: 0.922 MB / 0.7793 GB, free: 5.605 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001787/0.4147, allocations: 103.9 kB / 0.7794 GB, free: 5.504 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4147, allocations: 0 / 0.7794 GB, free: 5.504 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.4147, allocations: 0 / 0.7794 GB, free: 5.504 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000492/0.4152, allocations: 469.3 kB / 0.7799 GB, free: 5.043 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002576/0.4178, allocations: 2.452 MB / 0.7822 GB, free: 2.465 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.4182, allocations: 0.7392 MB / 0.783 GB, free: 1.699 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.244e-05/0.4182, allocations: 4 kB / 0.783 GB, free: 1.695 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.37e-05/0.4183, allocations: 47.36 kB / 0.783 GB, free: 1.652 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4183, allocations: 0 / 0.783 GB, free: 1.652 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/0.4441, allocations: 4.84 MB / 0.7877 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.726/8.17, allocations: 14.53 kB / 0.7878 GB, free: 12.95 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)