Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.234/2.234, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001296/0.001296, allocations: 178.2 kB / 326.3 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.406/2.406, allocations: 205.4 MB / 0.5772 GB, free: 20.79 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.0009698/0.0009697, allocations: 99.84 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007119/0.000712, allocations: 8.969 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2649, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.008787/0.2737, allocations: 3.577 MB / 0.903 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004872/0.2787, allocations: 1.498 MB / 0.9045 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003733/0.2791, allocations: 8 kB / 0.9045 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00041/0.2795, allocations: 67.48 kB / 0.9045 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00107/0.2806, allocations: 191 kB / 0.9047 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.2818, allocations: 163.7 kB / 0.9049 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001267/0.2831, allocations: 0.6231 MB / 0.9055 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008172/0.284, allocations: 405.7 kB / 0.9059 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004615/0.2845, allocations: 183.3 kB / 0.906 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004987/0.285, allocations: 235.2 kB / 0.9063 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.577e-05/0.2851, allocations: 20 kB / 0.9063 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003043/0.2854, allocations: 79.88 kB / 0.9064 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.2855, allocations: 127.7 kB / 0.9065 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.421e-05/0.2856, allocations: 89.52 kB / 0.9066 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004977/0.2862, allocations: 395.3 kB / 0.9069 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2862, allocations: 8 kB / 0.9069 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.963e-06/0.2862, allocations: 0 / 0.9069 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.2862, allocations: 0 / 0.9069 GB, free: 57.84 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001394/0.2876, allocations: 0.6279 MB / 0.9076 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.2877, allocations: 8.031 kB / 0.9076 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.2887, allocations: 108.4 kB / 0.9077 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000468/0.2892, allocations: 283.8 kB / 0.9079 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.584e-05/0.2893, allocations: 63.25 kB / 0.908 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.645e-05/0.2894, allocations: 36.31 kB / 0.908 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.2905, allocations: 0.5086 MB / 0.9085 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.2906, allocations: 4 kB / 0.9085 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.864e-05/0.2906, allocations: 19.98 kB / 0.9086 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.464e-05/0.2907, allocations: 24.98 kB / 0.9086 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.2918, allocations: 391.7 kB / 0.909 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003156/0.295, allocations: 2.212 MB / 0.9111 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.2961, allocations: 270.6 kB / 0.9114 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005838/0.2967, allocations: 156.8 kB / 0.9115 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.2967, allocations: 0 / 0.9115 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.2968, allocations: 38.56 kB / 0.9116 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 2.495e-06/0.2968, allocations: 0 / 0.9116 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.002328/0.2991, allocations: 0.5886 MB / 0.9121 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.2992, allocations: 55.41 kB / 0.9122 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.2995, allocations: 221 kB / 0.9124 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.2995, allocations: 33.7 kB / 0.9124 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.2996, allocations: 211.6 kB / 0.9126 GB, free: 51.56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.649e-05/0.2997, allocations: 63.09 kB / 0.9127 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-05/0.2997, allocations: 8 kB / 0.9127 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.98e-05/0.2998, allocations: 334.8 kB / 0.913 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003372/0.3002, allocations: 91.94 kB / 0.9131 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004162/0.3006, allocations: 185.2 kB / 0.9133 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003916/0.301, allocations: 117.5 kB / 0.9134 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.301, allocations: 3.938 kB / 0.9134 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00136/0.3024, allocations: 390.9 kB / 0.9138 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.096e-05/0.3025, allocations: 157.8 kB / 0.9139 GB, free: 50.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3025, allocations: 7.875 kB / 0.9139 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007595/0.3033, allocations: 105.6 kB / 0.914 GB, free: 50.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.3037, allocations: 59.91 kB / 0.9141 GB, free: 49.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003978/0.3077, allocations: 2.83 MB / 0.9169 GB, free: 46.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000458/0.3082, allocations: 31.73 kB / 0.9169 GB, free: 46.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.3082, allocations: 16.12 kB / 0.9169 GB, free: 46.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.3083, allocations: 7.938 kB / 0.9169 GB, free: 46.81 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001208/0.3095, allocations: 312.6 kB / 0.9172 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3095, allocations: 4 kB / 0.9172 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004968/0.31, allocations: 80.84 kB / 0.9173 GB, free: 46.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004154/0.3104, allocations: 55.97 kB / 0.9173 GB, free: 46.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00273/0.3132, allocations: 1.503 MB / 0.9188 GB, free: 44.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004179/0.3136, allocations: 31.77 kB / 0.9188 GB, free: 44.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.3137, allocations: 12 kB / 0.9188 GB, free: 44.68 MB / 0.6042 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.0002769/0.314, allocations: 242.2 kB / 0.9191 GB, free: 44.44 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.838e-05/0.3141, allocations: 23.66 kB / 0.9191 GB, free: 44.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.824e-05/0.3141, allocations: 38.23 kB / 0.9191 GB, free: 44.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3142, allocations: 0 / 0.9191 GB, free: 44.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3142, allocations: 3.938 kB / 0.9191 GB, free: 44.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.3143, allocations: 116.8 kB / 0.9193 GB, free: 44.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.3144, allocations: 0 / 0.9193 GB, free: 44.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.3146, allocations: 12 kB / 0.9193 GB, free: 44.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.247e-05/0.3147, allocations: 15.97 kB / 0.9193 GB, free: 44.21 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001256/0.316, allocations: 394.3 kB / 0.9197 GB, free: 43.82 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001127/0.3172, allocations: 0.4968 MB / 0.9201 GB, free: 43.3 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003305/0.3175, allocations: 92.12 kB / 0.9202 GB, free: 43.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001859/0.3177, allocations: 160.5 kB / 0.9204 GB, free: 43.06 MB / 0.6042 GB Notification: Performance of Backend: time 7.22e-07/0.3178, allocations: 0 / 0.9204 GB, free: 43.06 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003186/0.3209, allocations: 0.8108 MB / 0.9212 GB, free: 42.21 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001509/0.3225, allocations: 1.154 MB / 0.9223 GB, free: 41.01 MB / 0.6042 GB Notification: Performance of Templates: time 0.02231/0.3448, allocations: 5.047 MB / 0.9272 GB, free: 35.99 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)