Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001213, allocations: 106.1 kB / 15.99 MB, free: 6.348 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.001192/0.001192, allocations: 189.2 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.664/1.664, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001317/0.001318, allocations: 63.84 kB / 0.6716 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1971, allocations: 114.5 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.005115/0.2023, allocations: 3.88 MB / 0.7873 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00264/0.205, allocations: 1.75 MB / 0.789 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.2052, allocations: 11.94 kB / 0.789 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.2064, allocations: 433.7 kB / 0.7894 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005319/0.207, allocations: 231 kB / 0.7896 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005602/0.2075, allocations: 223.6 kB / 0.7899 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005029/0.2081, allocations: 0.4944 MB / 0.7903 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005816/0.2086, allocations: 405.1 kB / 0.7907 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.2089, allocations: 191.3 kB / 0.7909 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003339/0.2092, allocations: 259.1 kB / 0.7912 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.487e-05/0.2093, allocations: 28 kB / 0.7912 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.2096, allocations: 179.6 kB / 0.7914 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.2097, allocations: 131.7 kB / 0.7915 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.2099, allocations: 183.1 kB / 0.7917 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000393/0.2103, allocations: 371.2 kB / 0.792 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2103, allocations: 0 / 0.792 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2103, allocations: 0 / 0.792 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.2103, allocations: 4 kB / 0.792 GB, free: 5.137 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001112/0.2114, allocations: 0.6587 MB / 0.7927 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.2115, allocations: 12.03 kB / 0.7927 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005233/0.212, allocations: 80.41 kB / 0.7927 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.2123, allocations: 299.3 kB / 0.793 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.2124, allocations: 21.03 kB / 0.7931 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.552e-05/0.2124, allocations: 32.38 kB / 0.7931 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007439/0.2132, allocations: 489.9 kB / 0.7936 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2132, allocations: 0 / 0.7936 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.233e-05/0.2132, allocations: 16 kB / 0.7936 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.282e-05/0.2133, allocations: 40.62 kB / 0.7936 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006597/0.2139, allocations: 362.2 kB / 0.794 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.2159, allocations: 2.045 MB / 0.7959 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005252/0.2164, allocations: 218.6 kB / 0.7962 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00036/0.2168, allocations: 157.7 kB / 0.7963 GB, free: 416 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.2168, allocations: 0 / 0.7963 GB, free: 416 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.2169, allocations: 38.56 kB / 0.7963 GB, free: 368 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 2.224e-06/0.2169, allocations: 3.938 kB / 0.7963 GB, free: 364 kB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.001039/0.2179, allocations: 425.6 kB / 0.7968 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.218, allocations: 55.41 kB / 0.7968 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.2182, allocations: 262.6 kB / 0.7971 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.2183, allocations: 29.7 kB / 0.7971 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.2184, allocations: 207.7 kB / 0.7973 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.479e-05/0.2184, allocations: 71.03 kB / 0.7973 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.923e-05/0.2185, allocations: 57.89 kB / 0.7974 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.2187, allocations: 342.8 kB / 0.7977 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002437/0.2189, allocations: 97.91 kB / 0.7978 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.2192, allocations: 203.6 kB / 0.798 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000512/0.2198, allocations: 305.5 kB / 0.7983 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2198, allocations: 0 / 0.7983 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007223/0.2205, allocations: 361 kB / 0.7987 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.2205, allocations: 8.094 kB / 0.7987 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.2205, allocations: 4 kB / 0.7987 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002093/0.2207, allocations: 36.83 kB / 0.7987 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.221, allocations: 67.89 kB / 0.7988 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/0.2224, allocations: 1.433 MB / 0.8002 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.2227, allocations: 43.66 kB / 0.8002 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.2227, allocations: 12 kB / 0.8002 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003306/0.223, allocations: 213.3 kB / 0.8004 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003003/0.2233, allocations: 224.7 kB / 0.8006 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004918/0.2238, allocations: 326.1 kB / 0.8009 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.744e-06/0.2239, allocations: 0 / 0.8009 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000645/0.2245, allocations: 336.9 kB / 0.8013 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.2245, allocations: 4 kB / 0.8013 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2245, allocations: 7.984 kB / 0.8013 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.272e-06/0.2246, allocations: 12.44 kB / 0.8013 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.2248, allocations: 71.89 kB / 0.8014 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2248, allocations: 7.938 kB / 0.8014 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.2251, allocations: 35.81 kB / 0.8014 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.2251, allocations: 16 kB / 0.8014 GB, free: 10.72 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001411/0.2253, allocations: 200.1 kB / 0.8016 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/0.2253, allocations: 27.72 kB / 0.8016 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.306e-05/0.2254, allocations: 34.17 kB / 0.8017 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.2254, allocations: 4 kB / 0.8017 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.2254, allocations: 3.938 kB / 0.8017 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2254, allocations: 0 / 0.8017 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.2265, allocations: 0.746 MB / 0.8024 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.2266, allocations: 0 / 0.8024 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.2268, allocations: 43.91 kB / 0.8024 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001071/0.2269, allocations: 24.84 kB / 0.8025 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.2269, allocations: 8.062 kB / 0.8025 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/0.2279, allocations: 1.426 MB / 0.8039 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.228, allocations: 0 / 0.8039 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005877/0.2286, allocations: 372.2 kB / 0.8042 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.2287, allocations: 116.8 kB / 0.8043 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.2287, allocations: 4 kB / 0.8043 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.2289, allocations: 15.97 kB / 0.8044 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.2289, allocations: 15.98 kB / 0.8044 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.229, allocations: 11.94 kB / 0.8044 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001689/0.2291, allocations: 190 kB / 0.8046 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2291, allocations: 0 / 0.8046 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005753/0.2297, allocations: 143.4 kB / 0.8047 GB, free: 7.086 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001196/0.2299, allocations: 103.2 kB / 0.8048 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00106/0.2309, allocations: 0.4988 MB / 0.8053 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.2309, allocations: 4.062 kB / 0.8053 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003215/0.2313, allocations: 214.6 kB / 0.8055 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004897/0.2318, allocations: 71.94 kB / 0.8056 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009326/0.2327, allocations: 0.7224 MB / 0.8063 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.2331, allocations: 0.7996 MB / 0.807 GB, free: 4.582 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.134e-05/0.2331, allocations: 27.44 kB / 0.8071 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of SimCode: time 1.623e-06/0.2332, allocations: 0 / 0.8071 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of Templates: time 0.006233/0.2394, allocations: 4.782 MB / 0.8117 GB, free: 15.78 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)