Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009438/0.0009437, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.0008777/0.0008776, allocations: 177.3 kB / 15.94 MB, free: 228 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.498/1.498, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.665/1.665, allocations: 292.5 MB / 0.5497 GB, free: 14.6 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.0005484/0.0005484, allocations: 13.06 kB / 0.6735 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2632, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004582/0.2679, allocations: 3.488 MB / 0.7905 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002532/0.2704, allocations: 1.494 MB / 0.792 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002508/0.2707, allocations: 7.938 kB / 0.792 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002292/0.271, allocations: 67.59 kB / 0.792 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004753/0.2715, allocations: 151.5 kB / 0.7922 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006154/0.2721, allocations: 171.6 kB / 0.7923 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005007/0.2726, allocations: 303.3 kB / 0.7926 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005278/0.2731, allocations: 389.7 kB / 0.793 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002538/0.2734, allocations: 147.5 kB / 0.7931 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003428/0.2737, allocations: 167.4 kB / 0.7933 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.078e-05/0.2738, allocations: 20 kB / 0.7933 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002397/0.2741, allocations: 75.89 kB / 0.7934 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.2742, allocations: 119.7 kB / 0.7935 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.61e-05/0.2743, allocations: 93.52 kB / 0.7936 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004272/0.2747, allocations: 399.2 kB / 0.794 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2747, allocations: 0 / 0.794 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2747, allocations: 0 / 0.794 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.2748, allocations: 4 kB / 0.794 GB, free: 4.836 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001184/0.2759, allocations: 0.6162 MB / 0.7946 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.276, allocations: 12.03 kB / 0.7946 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007697/0.2768, allocations: 119.4 kB / 0.7947 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.2772, allocations: 290.4 kB / 0.795 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.036e-05/0.2773, allocations: 62.69 kB / 0.7951 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.945e-05/0.2774, allocations: 32 kB / 0.7951 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000813/0.2782, allocations: 0.5007 MB / 0.7956 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.2782, allocations: 4 kB / 0.7956 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.249e-05/0.2783, allocations: 16 kB / 0.7956 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.251e-05/0.2783, allocations: 28.98 kB / 0.7956 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006704/0.279, allocations: 383.7 kB / 0.796 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.2814, allocations: 2.227 MB / 0.7982 GB, free: 216 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008047/0.2822, allocations: 285.7 kB / 0.7984 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/0.2823, allocations: 8 kB / 0.7984 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.2823, allocations: 30.56 kB / 0.7985 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=19): time 2.194e-06/0.2823, allocations: 0 / 0.7985 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=19): time 0.001488/0.2838, allocations: 0.6017 MB / 0.7991 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.2839, allocations: 55.36 kB / 0.7991 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.2842, allocations: 228.9 kB / 0.7993 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.2842, allocations: 29.7 kB / 0.7994 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.2843, allocations: 207.7 kB / 0.7996 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.16e-05/0.2844, allocations: 66.95 kB / 0.7996 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.266e-05/0.2844, allocations: 7.938 kB / 0.7996 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.2845, allocations: 334.8 kB / 0.7999 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.2848, allocations: 95.94 kB / 0.8 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.285, allocations: 186.3 kB / 0.8002 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.2853, allocations: 119.4 kB / 0.8003 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2853, allocations: 4 kB / 0.8003 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008298/0.2861, allocations: 389.3 kB / 0.8007 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003177/0.2865, allocations: 0.8801 MB / 0.8016 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.2865, allocations: 4 kB / 0.8016 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004928/0.287, allocations: 109.6 kB / 0.8017 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.2872, allocations: 51.91 kB / 0.8017 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003085/0.2903, allocations: 2.848 MB / 0.8045 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003117/0.2906, allocations: 31.77 kB / 0.8045 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.2907, allocations: 16.12 kB / 0.8045 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.2907, allocations: 8 kB / 0.8046 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007551/0.2915, allocations: 316.8 kB / 0.8049 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.2915, allocations: 15.89 kB / 0.8049 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002958/0.2918, allocations: 80.91 kB / 0.8049 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.292, allocations: 59.84 kB / 0.805 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/0.2939, allocations: 1.518 MB / 0.8065 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.2942, allocations: 31.73 kB / 0.8065 GB, free: 7.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.2942, allocations: 8 kB / 0.8065 GB, free: 7.012 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002532/0.2944, allocations: 257 kB / 0.8068 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.542e-05/0.2945, allocations: 19.77 kB / 0.8068 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.998e-05/0.2946, allocations: 30.19 kB / 0.8068 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2946, allocations: 4 kB / 0.8068 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2946, allocations: 0 / 0.8068 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.2946, allocations: 7.984 kB / 0.8068 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004223/0.295, allocations: 369.4 kB / 0.8072 GB, free: 6.285 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.295, allocations: 288 / 0.8072 GB, free: 6.285 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.2952, allocations: 31.94 kB / 0.8072 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000366/0.2956, allocations: 109.6 kB / 0.8073 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.2956, allocations: 4 kB / 0.8073 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002777/0.2984, allocations: 2.842 MB / 0.8101 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2984, allocations: 288 / 0.8101 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007798/0.2992, allocations: 413 kB / 0.8105 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.2994, allocations: 112.8 kB / 0.8106 GB, free: 2.469 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.2994, allocations: 4 kB / 0.8106 GB, free: 2.465 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.2996, allocations: 11.98 kB / 0.8106 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.667e-05/0.2997, allocations: 23.97 kB / 0.8106 GB, free: 2.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.2997, allocations: 8 kB / 0.8106 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001478/0.2998, allocations: 168.4 kB / 0.8108 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2998, allocations: 0 / 0.8108 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006569/0.3005, allocations: 167.4 kB / 0.811 GB, free: 2.098 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 (16): * Single equations (assignments): 14 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000137/0.3007, allocations: 99.25 kB / 0.8111 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001847/0.3025, allocations: 0.7779 MB / 0.8118 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3025, allocations: 8 kB / 0.8118 GB, free: 1.168 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000733/0.3033, allocations: 363.8 kB / 0.8122 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.3036, allocations: 60.52 kB / 0.8122 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.3047, allocations: 0.6836 MB / 0.8129 GB, free: 24 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.3051, allocations: 0.8152 MB / 0.8137 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002065/0.3053, allocations: 62.22 kB / 0.8138 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.168e-05/0.3054, allocations: 19.44 kB / 0.8138 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of SimCode: time 5.91e-07/0.3054, allocations: 0 / 0.8138 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of Templates: time 0.00795/0.3134, allocations: 4.078 MB / 0.8178 GB, free: 11.05 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) Environment - environmentSimulation: