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.555/1.555, allocations: 252 MB / 267 MB, free: 10.96 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.001783/0.001783, allocations: 177.9 kB / 326.6 MB, free: 2.219 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.925/1.925, allocations: 205.4 MB / 0.5777 GB, free: 20.54 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.000963/0.0009629, allocations: 88.23 kB / 0.6822 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003318, allocations: 11.34 kB / 0.7965 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1907, allocations: 106.3 MB / 0.9003 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.003113/0.1939, allocations: 3.363 MB / 0.9036 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00191/0.1958, allocations: 1.669 MB / 0.9052 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.196, allocations: 15.88 kB / 0.9052 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.1961, allocations: 51.56 kB / 0.9053 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003621/0.1965, allocations: 187.1 kB / 0.9055 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.1969, allocations: 199.6 kB / 0.9057 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003711/0.1973, allocations: 0.5686 MB / 0.9062 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002991/0.1976, allocations: 332.3 kB / 0.9065 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.1978, allocations: 159.4 kB / 0.9067 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.1981, allocations: 219.2 kB / 0.9069 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.739e-05/0.1981, allocations: 16 kB / 0.9069 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.1983, allocations: 83.88 kB / 0.907 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.923e-05/0.1984, allocations: 111.7 kB / 0.9071 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.196e-05/0.1984, allocations: 85.52 kB / 0.9072 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.1987, allocations: 363.3 kB / 0.9075 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1987, allocations: 0 / 0.9075 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.163e-06/0.1987, allocations: 0 / 0.9075 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.1987, allocations: 0 / 0.9075 GB, free: 56.88 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.0008659/0.1996, allocations: 0.6042 MB / 0.9081 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1997, allocations: 11.97 kB / 0.9081 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.534e-05/0.1997, allocations: 70.52 kB / 0.9082 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004845/0.2002, allocations: 91.42 kB / 0.9083 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.2005, allocations: 282.4 kB / 0.9085 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.2006, allocations: 20.66 kB / 0.9086 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/0.2006, allocations: 32 kB / 0.9086 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007274/0.2014, allocations: 0.4901 MB / 0.9091 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.2014, allocations: 0 / 0.9091 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.2014, allocations: 15.94 kB / 0.9091 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.362e-05/0.2015, allocations: 36.64 kB / 0.9091 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006452/0.2021, allocations: 390.2 kB / 0.9095 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.2038, allocations: 2.045 MB / 0.9115 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005115/0.2043, allocations: 226.7 kB / 0.9117 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003461/0.2047, allocations: 168.8 kB / 0.9119 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.2047, allocations: 4 kB / 0.9119 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.2047, allocations: 38.55 kB / 0.9119 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.984e-06/0.2047, allocations: 0 / 0.9119 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0009894/0.2057, allocations: 455 kB / 0.9123 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.2058, allocations: 55.41 kB / 0.9124 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.206, allocations: 258.6 kB / 0.9126 GB, free: 51.22 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.206, allocations: 33.7 kB / 0.9127 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.144e-05/0.2061, allocations: 207.6 kB / 0.9129 GB, free: 50.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.2061, allocations: 71.17 kB / 0.9129 GB, free: 50.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-05/0.2061, allocations: 4 kB / 0.9129 GB, free: 50.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.197e-05/0.2062, allocations: 330.8 kB / 0.9133 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.2065, allocations: 100.5 kB / 0.9134 GB, free: 50.47 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.2067, allocations: 215.5 kB / 0.9136 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.207, allocations: 130.6 kB / 0.9137 GB, free: 50.08 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.207, allocations: 3.938 kB / 0.9137 GB, free: 50.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006535/0.2077, allocations: 378.1 kB / 0.9141 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.13e-05/0.2077, allocations: 198 kB / 0.9142 GB, free: 49.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.2078, allocations: 4 kB / 0.9142 GB, free: 49.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001859/0.2079, allocations: 36.77 kB / 0.9143 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.2082, allocations: 67.91 kB / 0.9143 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008767/0.2091, allocations: 1.338 MB / 0.9156 GB, free: 47.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.2094, allocations: 47.66 kB / 0.9157 GB, free: 47.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.2094, allocations: 15.94 kB / 0.9157 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.282e-06/0.2094, allocations: 6.344 kB / 0.9157 GB, free: 47.81 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005292/0.2099, allocations: 307.6 kB / 0.916 GB, free: 47.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.21, allocations: 4 kB / 0.916 GB, free: 47.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.599e-06/0.21, allocations: 4 kB / 0.916 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.2102, allocations: 71.89 kB / 0.9161 GB, free: 47.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.2102, allocations: 11.95 kB / 0.9161 GB, free: 47.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.2104, allocations: 47.86 kB / 0.9161 GB, free: 47.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.2105, allocations: 15.98 kB / 0.9162 GB, free: 47.36 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.000178/0.2107, allocations: 249 kB / 0.9164 GB, free: 47.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.2107, allocations: 23.72 kB / 0.9164 GB, free: 47.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.936e-05/0.2108, allocations: 26.19 kB / 0.9164 GB, free: 47.06 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2108, allocations: 7.984 kB / 0.9164 GB, free: 47.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2108, allocations: 7.953 kB / 0.9165 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2108, allocations: 0 / 0.9165 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009417/0.2117, allocations: 0.7655 MB / 0.9172 GB, free: 46.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.2118, allocations: 3.953 kB / 0.9172 GB, free: 46.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.2119, allocations: 51.97 kB / 0.9173 GB, free: 46.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.858e-05/0.212, allocations: 24.84 kB / 0.9173 GB, free: 46.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.2121, allocations: 0 / 0.9173 GB, free: 46.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006721/0.2127, allocations: 1.323 MB / 0.9186 GB, free: 44.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2128, allocations: 0 / 0.9186 GB, free: 44.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005549/0.2133, allocations: 386.7 kB / 0.9189 GB, free: 44.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.968e-05/0.2134, allocations: 120.7 kB / 0.9191 GB, free: 44.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.2135, allocations: 8 kB / 0.9191 GB, free: 44.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.2136, allocations: 19.97 kB / 0.9191 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.995e-05/0.2137, allocations: 15.98 kB / 0.9191 GB, free: 44.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.2137, allocations: 4 kB / 0.9191 GB, free: 44.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001299/0.2139, allocations: 189.9 kB / 0.9193 GB, free: 43.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2139, allocations: 0 / 0.9193 GB, free: 43.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005513/0.2144, allocations: 143.5 kB / 0.9194 GB, free: 43.74 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 17 * 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.0007244/0.2152, allocations: 0.9278 MB / 0.9203 GB, free: 42.78 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009227/0.2161, allocations: 0.5014 MB / 0.9208 GB, free: 42.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2161, allocations: 0 / 0.9208 GB, free: 42.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000301/0.2164, allocations: 235.2 kB / 0.921 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000487/0.2169, allocations: 67.62 kB / 0.9211 GB, free: 41.96 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.2191, allocations: 1.694 MB / 0.9228 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.2193, allocations: 0.8035 MB / 0.9235 GB, free: 39.33 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002259/0.2196, allocations: 78.19 kB / 0.9236 GB, free: 39.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.2197, allocations: 91.34 kB / 0.9237 GB, free: 39.17 MB / 0.6042 GB Notification: Performance of SimCode: time 4.01e-07/0.2197, allocations: 0 / 0.9237 GB, free: 39.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01752/0.2372, allocations: 5.702 MB / 0.9293 GB, free: 33.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00014/0.2374, allocations: 220.6 kB / 0.9295 GB, free: 33.44 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.078, allocations: 0 / 0.9295 GB, free: 33.44 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)