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.000922/0.0009219, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008123/0.0008123, allocations: 168.7 kB / 15.95 MB, free: 204 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.407/1.407, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.615/1.615, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005512/0.0005513, allocations: 13.12 kB / 0.6737 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2645, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004438/0.269, allocations: 3.573 MB / 0.7908 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002249/0.2712, allocations: 1.501 MB / 0.7922 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.2714, allocations: 8 kB / 0.7922 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.2717, allocations: 63.48 kB / 0.7923 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004192/0.2721, allocations: 187.1 kB / 0.7925 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.2726, allocations: 163.3 kB / 0.7926 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005884/0.2732, allocations: 0.6192 MB / 0.7932 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004768/0.2737, allocations: 389.7 kB / 0.7936 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.2739, allocations: 183.3 kB / 0.7938 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003898/0.2743, allocations: 231.2 kB / 0.794 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.267e-05/0.2743, allocations: 20 kB / 0.794 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.2745, allocations: 87.88 kB / 0.7941 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.2747, allocations: 123.7 kB / 0.7942 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.152e-05/0.2748, allocations: 89.52 kB / 0.7943 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003862/0.2751, allocations: 403.2 kB / 0.7947 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2752, allocations: 0 / 0.7947 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2752, allocations: 0 / 0.7947 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.2752, allocations: 0 / 0.7947 GB, free: 4.277 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.001021/0.2762, allocations: 0.6201 MB / 0.7953 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2762, allocations: 11.97 kB / 0.7953 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006812/0.2769, allocations: 119.4 kB / 0.7954 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.2773, allocations: 294.4 kB / 0.7957 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.993e-05/0.2774, allocations: 54.69 kB / 0.7958 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.919e-05/0.2775, allocations: 32 kB / 0.7958 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008077/0.2783, allocations: 0.5008 MB / 0.7963 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.2783, allocations: 3.938 kB / 0.7963 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.131e-05/0.2784, allocations: 15.98 kB / 0.7963 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.217e-05/0.2784, allocations: 32.98 kB / 0.7963 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006528/0.2791, allocations: 391.7 kB / 0.7967 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002405/0.2815, allocations: 2.22 MB / 0.7989 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006437/0.2822, allocations: 262.6 kB / 0.7991 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003371/0.2825, allocations: 164.7 kB / 0.7993 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.2825, allocations: 4 kB / 0.7993 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.2826, allocations: 30.56 kB / 0.7993 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=19): time 1.423e-06/0.2826, allocations: 4 kB / 0.7993 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of matching and sorting (n=19): time 0.00138/0.284, allocations: 0.5897 MB / 0.7999 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.284, allocations: 51.41 kB / 0.7999 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.2842, allocations: 224.9 kB / 0.8002 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.319e-05/0.2843, allocations: 33.64 kB / 0.8002 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.2844, allocations: 211.7 kB / 0.8004 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.317e-05/0.2845, allocations: 70.94 kB / 0.8005 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.333e-05/0.2845, allocations: 4 kB / 0.8005 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2846, allocations: 334.8 kB / 0.8008 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.2849, allocations: 91.94 kB / 0.8009 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003761/0.2852, allocations: 187.1 kB / 0.801 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.2856, allocations: 115.9 kB / 0.8012 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2856, allocations: 8 kB / 0.8012 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008176/0.2864, allocations: 385.3 kB / 0.8015 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.2866, allocations: 165.6 kB / 0.8017 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.2866, allocations: 4 kB / 0.8017 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005125/0.2871, allocations: 109.6 kB / 0.8018 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.2873, allocations: 51.91 kB / 0.8018 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003188/0.2905, allocations: 2.829 MB / 0.8046 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.2908, allocations: 35.77 kB / 0.8046 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.2908, allocations: 12 kB / 0.8047 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.286e-06/0.2908, allocations: 4 kB / 0.8047 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000784/0.2916, allocations: 308.4 kB / 0.805 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.2917, allocations: 8 kB / 0.805 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002649/0.2919, allocations: 85.03 kB / 0.805 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.2921, allocations: 55.91 kB / 0.8051 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/0.2939, allocations: 1.494 MB / 0.8066 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.2942, allocations: 35.73 kB / 0.8066 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.2942, allocations: 15.95 kB / 0.8066 GB, free: 7.113 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.0003195/0.2945, allocations: 255.9 kB / 0.8068 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.664e-05/0.2946, allocations: 15.81 kB / 0.8069 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.421e-05/0.2947, allocations: 34.17 kB / 0.8069 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.2947, allocations: 0 / 0.8069 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2947, allocations: 0 / 0.8069 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2947, allocations: 0 / 0.8069 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.2961, allocations: 0.8405 MB / 0.8077 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2961, allocations: 0 / 0.8077 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.2962, allocations: 35.92 kB / 0.8077 GB, free: 5.855 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003475/0.2966, allocations: 101.7 kB / 0.8078 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.2966, allocations: 4 kB / 0.8079 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002649/0.2993, allocations: 2.811 MB / 0.8106 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2993, allocations: 8.25 kB / 0.8106 GB, free: 2.656 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007326/0.3, allocations: 429.3 kB / 0.811 GB, free: 2.211 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.3001, allocations: 116.8 kB / 0.8111 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.3002, allocations: 0 / 0.8111 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.3004, allocations: 23.88 kB / 0.8111 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/0.3004, allocations: 19.98 kB / 0.8112 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.3005, allocations: 8 kB / 0.8112 GB, free: 2.027 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001441/0.3006, allocations: 160.5 kB / 0.8113 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3006, allocations: 0 / 0.8113 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006042/0.3012, allocations: 167.3 kB / 0.8115 GB, free: 1.711 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 (17): * Single equations (assignments): 15 * 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.0001433/0.3014, allocations: 107.2 kB / 0.8116 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001639/0.303, allocations: 0.7624 MB / 0.8123 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.303, allocations: 4.062 kB / 0.8123 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006807/0.3037, allocations: 369.2 kB / 0.8127 GB, free: 416 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.3042, allocations: 60.64 kB / 0.8127 GB, free: 356 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.3053, allocations: 0.7012 MB / 0.8134 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/0.3058, allocations: 0.8068 MB / 0.8142 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001928/0.306, allocations: 58.23 kB / 0.8143 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.33e-05/0.3061, allocations: 23.44 kB / 0.8143 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of SimCode: time 4.01e-07/0.3061, allocations: 0 / 0.8143 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of Templates: time 0.008075/0.3141, allocations: 4.142 MB / 0.8183 GB, free: 10.58 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: