Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009367/0.0009365, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001234/0.001234, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.4 MB / 222.1 MB, free: 5.324 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.794/1.794, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005313/0.0005314, allocations: 15.56 kB / 0.6738 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2773, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001497/0.2789, allocations: 1.101 MB / 0.7885 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002063/0.281, allocations: 1.757 MB / 0.7902 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.447e-05/0.281, allocations: 0 / 0.7902 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008211/0.2818, allocations: 346.1 kB / 0.7905 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.424e-05/0.2819, allocations: 15.91 kB / 0.7905 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.387e-06/0.2819, allocations: 0 / 0.7905 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.2821, allocations: 131.1 kB / 0.7907 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.842e-05/0.2822, allocations: 21.48 kB / 0.7907 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.253e-05/0.2823, allocations: 47.86 kB / 0.7907 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.2824, allocations: 63.72 kB / 0.7908 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.2824, allocations: 4 kB / 0.7908 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004056/0.2828, allocations: 171.9 kB / 0.791 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.505e-05/0.2829, allocations: 35.83 kB / 0.791 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.101e-05/0.2829, allocations: 49.64 kB / 0.791 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.2832, allocations: 203.5 kB / 0.7912 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2832, allocations: 0 / 0.7912 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2832, allocations: 0 / 0.7912 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.2832, allocations: 8 kB / 0.7913 GB, free: 7.859 MB / 0.6075 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.0006296/0.2839, allocations: 478.4 kB / 0.7917 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.2839, allocations: 11.97 kB / 0.7917 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.16e-05/0.284, allocations: 105.8 kB / 0.7918 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.2841, allocations: 103 kB / 0.7919 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.2843, allocations: 290.1 kB / 0.7922 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.631e-05/0.2844, allocations: 158.6 kB / 0.7923 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.095e-05/0.2845, allocations: 150.6 kB / 0.7925 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.014e-05/0.2845, allocations: 112.9 kB / 0.7926 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.2846, allocations: 75.28 kB / 0.7927 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.934e-05/0.2846, allocations: 154.6 kB / 0.7928 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-05/0.2847, allocations: 158.6 kB / 0.793 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.111e-05/0.2847, allocations: 150.6 kB / 0.7931 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.2851, allocations: 0.5094 MB / 0.7936 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.2852, allocations: 169.1 kB / 0.7938 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.852e-05/0.2853, allocations: 84.14 kB / 0.7938 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.2853, allocations: 75.28 kB / 0.7939 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.168e-05/0.2854, allocations: 109.8 kB / 0.794 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.2854, allocations: 0 / 0.794 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.000167/0.2856, allocations: 45.52 kB / 0.7941 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.2856, allocations: 126.7 kB / 0.7942 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003107/0.2859, allocations: 322.2 kB / 0.7945 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.286, allocations: 29.7 kB / 0.7945 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.477e-05/0.286, allocations: 112.5 kB / 0.7946 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.2861, allocations: 0 / 0.7946 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.2861, allocations: 0 / 0.7946 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.2862, allocations: 334.8 kB / 0.795 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.822e-05/0.2863, allocations: 59.95 kB / 0.795 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.2864, allocations: 130.4 kB / 0.7951 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.2865, allocations: 71.97 kB / 0.7952 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.2865, allocations: 7.953 kB / 0.7952 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004161/0.287, allocations: 237.1 kB / 0.7954 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.287, allocations: 8 kB / 0.7954 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.287, allocations: 0 / 0.7954 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.287, allocations: 4 kB / 0.7954 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.402e-06/0.287, allocations: 0 / 0.7954 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.2871, allocations: 4.219 kB / 0.7955 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.2872, allocations: 31.53 kB / 0.7955 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.2872, allocations: 4 kB / 0.7955 GB, free: 3.258 MB / 0.6075 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.0002123/0.2874, allocations: 229 kB / 0.7957 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.611e-05/0.2875, allocations: 120.8 kB / 0.7958 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.959e-05/0.2876, allocations: 113.8 kB / 0.7959 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.816e-05/0.2876, allocations: 188.2 kB / 0.7961 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.439e-05/0.2877, allocations: 180.3 kB / 0.7963 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.393e-05/0.2878, allocations: 188.1 kB / 0.7965 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/0.2881, allocations: 449.2 kB / 0.7969 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.577e-05/0.2881, allocations: 101 kB / 0.797 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.753e-05/0.2882, allocations: 116.9 kB / 0.7971 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.818e-05/0.2883, allocations: 184.3 kB / 0.7973 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.682e-05/0.2884, allocations: 184.2 kB / 0.7974 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.569e-05/0.2885, allocations: 180.3 kB / 0.7976 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-05/0.2885, allocations: 180.3 kB / 0.7978 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.2887, allocations: 327.5 kB / 0.7981 GB, free: 416 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.2888, allocations: 193.8 kB / 0.7983 GB, free: 196 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.882e-05/0.2889, allocations: 184.2 kB / 0.7985 GB, free: 4 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.2891, allocations: 105 kB / 0.7986 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.796e-05/0.2892, allocations: 180.2 kB / 0.7987 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.733e-05/0.2892, allocations: 101 kB / 0.7988 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002228/0.2894, allocations: 213.9 kB / 0.799 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2894, allocations: 0 / 0.799 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003953/0.2898, allocations: 67.98 kB / 0.7991 GB, free: 15.33 MB / 0.6231 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.0007314/0.2906, allocations: 0.9183 MB / 0.8 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001931/0.2908, allocations: 95.89 kB / 0.8001 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2908, allocations: 0 / 0.8001 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.165e-06/0.2908, allocations: 4 kB / 0.8001 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.2913, allocations: 0.5273 MB / 0.8006 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.2929, allocations: 1.195 MB / 0.8018 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.2932, allocations: 0.7433 MB / 0.8025 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.597e-05/0.2933, allocations: 4 kB / 0.8025 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.54e-05/0.2933, allocations: 35.42 kB / 0.8025 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.2933, allocations: 0 / 0.8025 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01513/0.3085, allocations: 4.474 MB / 0.8069 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/0.3087, allocations: 211.5 kB / 0.8071 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.947/2.256, allocations: 0 / 0.8071 GB, free: 7.164 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) Environment - environmentSimulation: