Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.494/1.494, allocations: 251.9 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 181.2 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008342/0.0008342, allocations: 91.52 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.0003489, allocations: 10.47 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2635, allocations: 106.3 MB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.00463/0.2682, allocations: 3.297 MB / 0.9034 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002641/0.2709, allocations: 1.653 MB / 0.905 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003011/0.2712, allocations: 7.938 kB / 0.905 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.2715, allocations: 55.62 kB / 0.905 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006698/0.2722, allocations: 159.5 kB / 0.9052 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006882/0.2729, allocations: 207.5 kB / 0.9054 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003536/0.2733, allocations: 287.4 kB / 0.9057 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004183/0.2737, allocations: 332.3 kB / 0.906 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.2739, allocations: 139.5 kB / 0.9061 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003107/0.2742, allocations: 151.4 kB / 0.9063 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.608e-05/0.2743, allocations: 16 kB / 0.9063 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.2745, allocations: 83.88 kB / 0.9063 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.2746, allocations: 107.6 kB / 0.9065 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.332e-05/0.2747, allocations: 85.52 kB / 0.9065 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003973/0.2751, allocations: 359.3 kB / 0.9069 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2751, allocations: 0 / 0.9069 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.126e-06/0.2751, allocations: 0 / 0.9069 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.2751, allocations: 0 / 0.9069 GB, free: 56.86 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001007/0.2761, allocations: 0.6168 MB / 0.9075 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.2762, allocations: 8.031 kB / 0.9075 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.932e-05/0.2763, allocations: 74.53 kB / 0.9076 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005542/0.2768, allocations: 91.42 kB / 0.9076 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004353/0.2773, allocations: 282.5 kB / 0.9079 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.2773, allocations: 24.64 kB / 0.9079 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.375e-05/0.2774, allocations: 31.98 kB / 0.908 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007423/0.2781, allocations: 485.8 kB / 0.9084 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.2781, allocations: 0 / 0.9084 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.2782, allocations: 12 kB / 0.9084 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.984e-05/0.2782, allocations: 44.62 kB / 0.9085 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006524/0.2789, allocations: 386.2 kB / 0.9089 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.2808, allocations: 2.052 MB / 0.9109 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005797/0.2814, allocations: 226.7 kB / 0.9111 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.2815, allocations: 4 kB / 0.9111 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.2815, allocations: 34.56 kB / 0.9111 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.793e-06/0.2815, allocations: 0 / 0.9111 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.001068/0.2826, allocations: 472.9 kB / 0.9116 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.2826, allocations: 59.36 kB / 0.9116 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.2828, allocations: 258.6 kB / 0.9119 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.2829, allocations: 29.7 kB / 0.9119 GB, free: 51.31 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.283, allocations: 211.7 kB / 0.9121 GB, free: 51.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.771e-05/0.2831, allocations: 63.09 kB / 0.9122 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.2831, allocations: 8 kB / 0.9122 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.608e-05/0.2832, allocations: 330.8 kB / 0.9125 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.2834, allocations: 104.5 kB / 0.9126 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003232/0.2837, allocations: 210.8 kB / 0.9128 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.284, allocations: 137.8 kB / 0.9129 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.284, allocations: 4 kB / 0.9129 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000666/0.2847, allocations: 378 kB / 0.9133 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003419/0.2851, allocations: 1.315 MB / 0.9146 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.2851, allocations: 0 / 0.9146 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002375/0.2853, allocations: 36.84 kB / 0.9146 GB, free: 48.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.2856, allocations: 71.89 kB / 0.9147 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/0.2867, allocations: 1.356 MB / 0.916 GB, free: 46.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.2869, allocations: 43.86 kB / 0.916 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.2869, allocations: 16 kB / 0.916 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.356e-06/0.287, allocations: 4 kB / 0.916 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005811/0.2875, allocations: 313 kB / 0.9163 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2876, allocations: 4 kB / 0.9164 GB, free: 46.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.12e-06/0.2876, allocations: 4.406 kB / 0.9164 GB, free: 46.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.2879, allocations: 75.89 kB / 0.9164 GB, free: 46.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.2879, allocations: 8 kB / 0.9164 GB, free: 46.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.2881, allocations: 43.67 kB / 0.9165 GB, free: 46.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.2881, allocations: 19.94 kB / 0.9165 GB, free: 46.29 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 initialization (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001707/0.2883, allocations: 249 kB / 0.9167 GB, free: 46.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.2883, allocations: 31.67 kB / 0.9168 GB, free: 46.01 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.562e-05/0.2884, allocations: 30.17 kB / 0.9168 GB, free: 45.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2884, allocations: 4 kB / 0.9168 GB, free: 45.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.2884, allocations: 0 / 0.9168 GB, free: 45.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2884, allocations: 3.984 kB / 0.9168 GB, free: 45.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/0.2887, allocations: 349.3 kB / 0.9171 GB, free: 45.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2887, allocations: 0 / 0.9171 GB, free: 45.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.2889, allocations: 43.97 kB / 0.9172 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.667e-05/0.289, allocations: 28.84 kB / 0.9172 GB, free: 45.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.289, allocations: 7.953 kB / 0.9172 GB, free: 45.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006506/0.2897, allocations: 1.319 MB / 0.9185 GB, free: 44.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2897, allocations: 0 / 0.9185 GB, free: 44.04 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005629/0.2903, allocations: 380.1 kB / 0.9189 GB, free: 43.65 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.2904, allocations: 128.7 kB / 0.919 GB, free: 43.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.2904, allocations: 0 / 0.919 GB, free: 43.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.2906, allocations: 19.98 kB / 0.919 GB, free: 43.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.483e-05/0.2907, allocations: 15.97 kB / 0.919 GB, free: 43.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.2907, allocations: 8 kB / 0.919 GB, free: 43.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001428/0.2909, allocations: 182 kB / 0.9192 GB, free: 43.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2909, allocations: 4 kB / 0.9192 GB, free: 43.28 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005491/0.2914, allocations: 155.4 kB / 0.9194 GB, free: 43.13 MB / 0.6042 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 (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007501/0.2922, allocations: 0.9132 MB / 0.9202 GB, free: 42.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009201/0.2931, allocations: 0.5136 MB / 0.9207 GB, free: 41.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.2931, allocations: 4.125 kB / 0.9207 GB, free: 41.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002843/0.2934, allocations: 230.5 kB / 0.921 GB, free: 41.42 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.2938, allocations: 58.02 kB / 0.921 GB, free: 41.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.2963, allocations: 3.812 MB / 0.9247 GB, free: 37.44 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.2965, allocations: 0.8072 MB / 0.9255 GB, free: 36.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002333/0.2968, allocations: 78.2 kB / 0.9256 GB, free: 36.53 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.2969, allocations: 87.41 kB / 0.9257 GB, free: 36.45 MB / 0.6042 GB Notification: Performance of SimCode: time 7.31e-07/0.2969, allocations: 0 / 0.9257 GB, free: 36.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/0.3141, allocations: 5.606 MB / 0.9312 GB, free: 31.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.3144, allocations: 222.4 kB / 0.9314 GB, free: 30.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.046/2.36, allocations: 0 / 0.9314 GB, free: 30.81 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)