Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.225/3.225, allocations: 287.5 MB / 302.4 MB, free: 8.398 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00136/0.001359, allocations: 178.3 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009656/0.000965, allocations: 93.27 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 10.28 kB / 0.8659 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2556, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002464/0.2582, allocations: 1.107 MB / 0.9795 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004452/0.2627, allocations: 1.758 MB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.485e-05/0.2628, allocations: 0 / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002138/0.265, allocations: 343.3 kB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.625e-05/0.2651, allocations: 15.91 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.102e-06/0.2651, allocations: 4 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003287/0.2655, allocations: 131.1 kB / 0.9817 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.23e-05/0.2656, allocations: 25.48 kB / 0.9817 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.702e-05/0.2657, allocations: 39.86 kB / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.2659, allocations: 63.72 kB / 0.9818 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.2659, allocations: 4 kB / 0.9818 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.2671, allocations: 171.9 kB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.224e-05/0.2672, allocations: 35.83 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.597e-05/0.2673, allocations: 49.64 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004768/0.2678, allocations: 215.5 kB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.904e-06/0.2678, allocations: 0 / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.695e-06/0.2678, allocations: 4 kB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.2678, allocations: 0 / 0.9823 GB, free: 24.29 MB / 0.6198 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.001003/0.2689, allocations: 480.7 kB / 0.9828 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.2689, allocations: 8.031 kB / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.182e-05/0.269, allocations: 109.8 kB / 0.9829 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000296/0.2693, allocations: 95 kB / 0.983 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.2696, allocations: 294.1 kB / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.414e-05/0.2697, allocations: 150.6 kB / 0.9834 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.891e-05/0.2698, allocations: 154.6 kB / 0.9835 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.348e-05/0.2698, allocations: 105 kB / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.2699, allocations: 79.22 kB / 0.9837 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/0.2699, allocations: 150.6 kB / 0.9839 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.164e-05/0.27, allocations: 154.6 kB / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.903e-05/0.27, allocations: 150.6 kB / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005357/0.2706, allocations: 0.5094 MB / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.227e-05/0.2707, allocations: 165.1 kB / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.682e-05/0.2707, allocations: 88.08 kB / 0.9849 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.2708, allocations: 79.27 kB / 0.985 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.2708, allocations: 121.8 kB / 0.9851 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 3.276e-06/0.2709, allocations: 0 / 0.9851 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.000349/0.2712, allocations: 41.52 kB / 0.9851 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.2713, allocations: 126.7 kB / 0.9852 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005412/0.2719, allocations: 322.2 kB / 0.9855 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.2719, allocations: 29.64 kB / 0.9856 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.979e-05/0.272, allocations: 116.5 kB / 0.9857 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-06/0.272, allocations: 0 / 0.9857 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-06/0.272, allocations: 0 / 0.9857 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2721, allocations: 338.8 kB / 0.986 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.2723, allocations: 63.95 kB / 0.9861 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.2726, allocations: 118 kB / 0.9862 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.2729, allocations: 79.97 kB / 0.9863 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.2729, allocations: 0 / 0.9863 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009303/0.2739, allocations: 233.1 kB / 0.9865 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.2739, allocations: 8 kB / 0.9865 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.274, allocations: 0 / 0.9865 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/0.274, allocations: 4 kB / 0.9865 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.148e-06/0.274, allocations: 224 / 0.9865 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.2741, allocations: 8 kB / 0.9865 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.2744, allocations: 31.53 kB / 0.9865 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.2745, allocations: 4 kB / 0.9865 GB, free: 19.7 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002463/0.2747, allocations: 229 kB / 0.9867 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.2748, allocations: 116.8 kB / 0.9869 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.283e-05/0.2749, allocations: 113.8 kB / 0.987 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.259e-05/0.275, allocations: 188.2 kB / 0.9871 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.825e-05/0.275, allocations: 184.3 kB / 0.9873 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.322e-05/0.2751, allocations: 180.2 kB / 0.9875 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003763/0.2755, allocations: 453.1 kB / 0.9879 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.061e-05/0.2755, allocations: 105 kB / 0.988 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.902e-05/0.2756, allocations: 108.9 kB / 0.9881 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.973e-05/0.2757, allocations: 184.2 kB / 0.9883 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.731e-05/0.2757, allocations: 180.2 kB / 0.9885 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.179e-05/0.2758, allocations: 180.3 kB / 0.9887 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.295e-05/0.2758, allocations: 176.5 kB / 0.9888 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.276, allocations: 327.6 kB / 0.9891 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.2762, allocations: 201.7 kB / 0.9893 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.2763, allocations: 184.2 kB / 0.9895 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.2766, allocations: 101 kB / 0.9896 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.2767, allocations: 180.2 kB / 0.9898 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.2767, allocations: 113 kB / 0.9899 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004166/0.2771, allocations: 209.9 kB / 0.9901 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.31e-07/0.2772, allocations: 0 / 0.9901 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008142/0.278, allocations: 59.98 kB / 0.9901 GB, free: 15.78 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007992/0.2788, allocations: 0.934 MB / 0.991 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000372/0.2792, allocations: 99.89 kB / 0.9911 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.2792, allocations: 448 / 0.9911 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.468e-06/0.2793, allocations: 0 / 0.9911 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006209/0.2799, allocations: 0.5307 MB / 0.9917 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.283, allocations: 1.185 MB / 0.9928 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.2833, allocations: 0.7473 MB / 0.9935 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.322e-05/0.2834, allocations: 4 kB / 0.9936 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.66e-05/0.2835, allocations: 31.42 kB / 0.9936 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of SimCode: time 1.493e-06/0.2835, allocations: 0 / 0.9936 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03164/0.3152, allocations: 4.484 MB / 0.998 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002326/0.3155, allocations: 205.6 kB / 0.9982 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.622/2.937, allocations: 2.672 kB / 0.9982 GB, free: 7.586 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)