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.001061/0.001061, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001126/0.001126, allocations: 196.6 kB / 16.14 MB, free: 6.703 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.384/1.384, allocations: 205.1 MB / 222 MB, free: 5 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.835/1.835, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.001349/0.001349, allocations: 59.08 kB / 0.6708 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.232, allocations: 114.6 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005596/0.2377, allocations: 4.105 MB / 0.7867 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002468/0.2402, allocations: 1.59 MB / 0.7882 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001873/0.2404, allocations: 11.94 kB / 0.7882 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.2418, allocations: 0.55 MB / 0.7888 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004317/0.2423, allocations: 219.1 kB / 0.789 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004562/0.2427, allocations: 185.5 kB / 0.7892 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006656/0.2434, allocations: 0.7793 MB / 0.7899 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000453/0.2439, allocations: 309.9 kB / 0.7902 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.2441, allocations: 203.2 kB / 0.7904 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003855/0.2445, allocations: 255.1 kB / 0.7907 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.235e-05/0.2446, allocations: 28 kB / 0.7907 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003697/0.2449, allocations: 203.6 kB / 0.7909 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.2451, allocations: 147.6 kB / 0.791 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.2453, allocations: 187.1 kB / 0.7912 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005102/0.2458, allocations: 0.5297 MB / 0.7917 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.2458, allocations: 0 / 0.7917 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.22e-07/0.2458, allocations: 0 / 0.7917 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.842e-06/0.2459, allocations: 0 / 0.7917 GB, free: 4.688 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.001258/0.2471, allocations: 0.6788 MB / 0.7924 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.2472, allocations: 8.031 kB / 0.7924 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007074/0.2479, allocations: 104.3 kB / 0.7925 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/0.2483, allocations: 303.6 kB / 0.7928 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.281e-05/0.2483, allocations: 51.27 kB / 0.7928 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.2484, allocations: 32.38 kB / 0.7929 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007954/0.2492, allocations: 0.5048 MB / 0.7933 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.2492, allocations: 3.938 kB / 0.7933 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.001e-05/0.2493, allocations: 12 kB / 0.7934 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.225e-05/0.2493, allocations: 36.97 kB / 0.7934 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006743/0.25, allocations: 379.7 kB / 0.7938 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002342/0.2524, allocations: 2.22 MB / 0.7959 GB, free: 24 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006823/0.2531, allocations: 250.7 kB / 0.7962 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003521/0.2534, allocations: 160.7 kB / 0.7963 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.2535, allocations: 4 kB / 0.7963 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.2535, allocations: 38.5 kB / 0.7964 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=19): time 1.273e-06/0.2535, allocations: 0 / 0.7964 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of matching and sorting (n=19): time 0.001465/0.255, allocations: 0.5699 MB / 0.7969 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.255, allocations: 55.41 kB / 0.797 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.2553, allocations: 225 kB / 0.7972 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.2553, allocations: 25.7 kB / 0.7972 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.2554, allocations: 215.6 kB / 0.7974 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.464e-05/0.2555, allocations: 71.03 kB / 0.7975 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.184e-05/0.2556, allocations: 53.61 kB / 0.7975 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.2557, allocations: 326.8 kB / 0.7978 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.2559, allocations: 92.8 kB / 0.7979 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.2562, allocations: 183.1 kB / 0.7981 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004807/0.2567, allocations: 273.2 kB / 0.7984 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2567, allocations: 3.938 kB / 0.7984 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008285/0.2575, allocations: 377.4 kB / 0.7987 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.2576, allocations: 4 kB / 0.7987 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.2576, allocations: 4 kB / 0.7987 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005179/0.2581, allocations: 109.7 kB / 0.7988 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.2583, allocations: 51.91 kB / 0.7989 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002902/0.2612, allocations: 2.836 MB / 0.8017 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.2615, allocations: 35.67 kB / 0.8017 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.2615, allocations: 12 kB / 0.8017 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000329/0.2619, allocations: 220.1 kB / 0.8019 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002507/0.2621, allocations: 188.5 kB / 0.8021 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004278/0.2626, allocations: 265.2 kB / 0.8023 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.777e-06/0.2626, allocations: 4 kB / 0.8024 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007594/0.2634, allocations: 352.9 kB / 0.8027 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.2634, allocations: 6.812 kB / 0.8027 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.2634, allocations: 11.98 kB / 0.8027 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003123/0.2637, allocations: 80.98 kB / 0.8028 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.2639, allocations: 51.91 kB / 0.8028 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.2657, allocations: 1.503 MB / 0.8043 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.266, allocations: 31.73 kB / 0.8043 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.266, allocations: 8 kB / 0.8043 GB, free: 6.707 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.2661, allocations: 203 kB / 0.8045 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/0.2662, allocations: 23.88 kB / 0.8046 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.513e-05/0.2663, allocations: 34.11 kB / 0.8046 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2663, allocations: 0 / 0.8046 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2663, allocations: 4 kB / 0.8046 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2663, allocations: 0 / 0.8046 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.2676, allocations: 0.821 MB / 0.8054 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2676, allocations: 144 / 0.8054 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.2678, allocations: 31.92 kB / 0.8054 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003763/0.2682, allocations: 105.7 kB / 0.8055 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.2682, allocations: 7.984 kB / 0.8055 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002575/0.2708, allocations: 2.81 MB / 0.8083 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.2708, allocations: 8.062 kB / 0.8083 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007462/0.2716, allocations: 418.4 kB / 0.8087 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.2717, allocations: 116.8 kB / 0.8088 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.2717, allocations: 7.938 kB / 0.8088 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.2719, allocations: 11.98 kB / 0.8088 GB, free: 1.719 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.9e-05/0.272, allocations: 19.97 kB / 0.8088 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.272, allocations: 8 kB / 0.8088 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001348/0.2722, allocations: 160.5 kB / 0.809 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2722, allocations: 0 / 0.809 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000649/0.2728, allocations: 171.3 kB / 0.8092 GB, free: 1.371 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001653/0.273, allocations: 107.2 kB / 0.8093 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001786/0.2748, allocations: 0.7494 MB / 0.81 GB, free: 484 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2748, allocations: 0 / 0.81 GB, free: 484 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007286/0.2755, allocations: 373.7 kB / 0.8103 GB, free: 84 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.276, allocations: 50.27 kB / 0.8104 GB, free: 36 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.2772, allocations: 0.7296 MB / 0.8111 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.2776, allocations: 0.8183 MB / 0.8119 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00021/0.2778, allocations: 58.23 kB / 0.812 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.157e-05/0.2779, allocations: 15.44 kB / 0.812 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of SimCode: time 6.01e-07/0.2779, allocations: 0 / 0.812 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of Templates: time 0.008004/0.2859, allocations: 4.289 MB / 0.8162 GB, free: 10.1 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (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)