Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.005162/0.005162, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001171/0.001172, allocations: 189.2 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002034/0.002034, allocations: 289.8 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9086/0.9086, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003035/0.003035, allocations: 99.83 kB / 0.6814 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4531/0.4562, allocations: 86.98 MB / 0.7664 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.006758/0.463, allocations: 4.091 MB / 0.7704 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002842/0.4659, allocations: 1.589 MB / 0.7719 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000375/0.4663, allocations: 4 kB / 0.7719 GB, free: 14.24 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001783/0.4681, allocations: 0.5904 MB / 0.7725 GB, free: 13.65 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006726/0.4688, allocations: 238.8 kB / 0.7727 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006285/0.4695, allocations: 211.6 kB / 0.7729 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007521/0.4702, allocations: 0.5491 MB / 0.7735 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007637/0.471, allocations: 469.8 kB / 0.7739 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003601/0.4714, allocations: 235.2 kB / 0.7741 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005099/0.4719, allocations: 247 kB / 0.7744 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.895e-05/0.472, allocations: 36 kB / 0.7744 GB, free: 11.69 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003434/0.4723, allocations: 171.6 kB / 0.7746 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.4725, allocations: 147.7 kB / 0.7747 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002387/0.4727, allocations: 203 kB / 0.7749 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000695/0.4735, allocations: 0.5204 MB / 0.7754 GB, free: 10.66 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.4735, allocations: 3.938 kB / 0.7754 GB, free: 10.66 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4735, allocations: 0 / 0.7754 GB, free: 10.66 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.604e-05/0.4735, allocations: 0 / 0.7754 GB, free: 10.66 MB / 0.545 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.001245/0.4747, allocations: 0.6864 MB / 0.7761 GB, free: 9.918 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.4748, allocations: 8.031 kB / 0.7761 GB, free: 9.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007114/0.4755, allocations: 112.4 kB / 0.7762 GB, free: 9.801 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/0.4759, allocations: 303.7 kB / 0.7765 GB, free: 9.465 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.242e-05/0.476, allocations: 51.27 kB / 0.7765 GB, free: 9.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.573e-05/0.4761, allocations: 32.38 kB / 0.7766 GB, free: 9.379 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007924/0.4769, allocations: 0.5087 MB / 0.7771 GB, free: 8.852 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.4769, allocations: 4 kB / 0.7771 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.609e-05/0.477, allocations: 12 kB / 0.7771 GB, free: 8.836 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.247e-05/0.477, allocations: 28.98 kB / 0.7771 GB, free: 8.809 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006761/0.4777, allocations: 375.7 kB / 0.7775 GB, free: 8.438 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.4801, allocations: 2.2 MB / 0.7796 GB, free: 6.008 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006488/0.4807, allocations: 266.6 kB / 0.7799 GB, free: 5.738 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003398/0.4811, allocations: 144.8 kB / 0.78 GB, free: 5.594 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.973e-05/0.4811, allocations: 11.98 kB / 0.78 GB, free: 5.582 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.4811, allocations: 34.5 kB / 0.78 GB, free: 5.539 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 1.523e-06/0.4811, allocations: 0 / 0.78 GB, free: 5.539 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001397/0.4826, allocations: 0.5732 MB / 0.7806 GB, free: 4.918 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.4826, allocations: 59.39 kB / 0.7807 GB, free: 4.848 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.4828, allocations: 221 kB / 0.7809 GB, free: 4.629 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.4829, allocations: 33.7 kB / 0.7809 GB, free: 4.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.483, allocations: 211.6 kB / 0.7811 GB, free: 4.379 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.898e-05/0.483, allocations: 67.11 kB / 0.7812 GB, free: 4.312 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.793e-05/0.4831, allocations: 53.61 kB / 0.7812 GB, free: 4.254 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4833, allocations: 334.8 kB / 0.7815 GB, free: 3.918 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.4835, allocations: 92.8 kB / 0.7816 GB, free: 3.824 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/0.4837, allocations: 188.8 kB / 0.7818 GB, free: 3.602 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004428/0.4842, allocations: 269.3 kB / 0.7821 GB, free: 3.305 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.4842, allocations: 0 / 0.7821 GB, free: 3.305 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008438/0.4851, allocations: 384.7 kB / 0.7824 GB, free: 2.918 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.4851, allocations: 6.5 kB / 0.7824 GB, free: 2.914 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.4851, allocations: 7.938 kB / 0.7825 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004872/0.4856, allocations: 109.8 kB / 0.7826 GB, free: 2.793 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.4858, allocations: 47.91 kB / 0.7826 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/0.4889, allocations: 3.05 MB / 0.7856 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.4892, allocations: 35.86 kB / 0.7856 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.4892, allocations: 8 kB / 0.7856 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003042/0.4895, allocations: 216 kB / 0.7858 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002464/0.4898, allocations: 179.6 kB / 0.786 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004233/0.4902, allocations: 267.7 kB / 0.7863 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.094e-06/0.4902, allocations: 3.938 kB / 0.7863 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007306/0.491, allocations: 353.8 kB / 0.7866 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.491, allocations: 7.938 kB / 0.7866 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.491, allocations: 4.312 kB / 0.7866 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002745/0.4913, allocations: 80.81 kB / 0.7867 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.4915, allocations: 63.91 kB / 0.7867 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/0.4934, allocations: 1.606 MB / 0.7883 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.4936, allocations: 31.89 kB / 0.7883 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.4936, allocations: 11.94 kB / 0.7884 GB, free: 12.33 MB / 0.5606 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.0001226/0.4938, allocations: 196.2 kB / 0.7885 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.655e-05/0.4938, allocations: 19.81 kB / 0.7886 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.953e-05/0.4939, allocations: 34.11 kB / 0.7886 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.4939, allocations: 0 / 0.7886 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.4939, allocations: 4 kB / 0.7886 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4939, allocations: 8.062 kB / 0.7886 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.4952, allocations: 0.8212 MB / 0.7894 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.4952, allocations: 8.047 kB / 0.7894 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.4953, allocations: 31.97 kB / 0.7894 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003541/0.4957, allocations: 109.6 kB / 0.7896 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.4957, allocations: 0 / 0.7896 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002697/0.4984, allocations: 3.023 MB / 0.7925 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4984, allocations: 0 / 0.7925 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006955/0.4991, allocations: 416.7 kB / 0.7929 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.4993, allocations: 120.8 kB / 0.793 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.4993, allocations: 4 kB / 0.793 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.4994, allocations: 11.98 kB / 0.793 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.715e-05/0.4995, allocations: 23.91 kB / 0.7931 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.4995, allocations: 8 kB / 0.7931 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000137/0.4997, allocations: 164.5 kB / 0.7932 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4997, allocations: 0 / 0.7932 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005643/0.5003, allocations: 171.3 kB / 0.7934 GB, free: 6.773 MB / 0.5606 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.0001029/0.5004, allocations: 103.2 kB / 0.7935 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001757/0.5021, allocations: 0.7581 MB / 0.7942 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5021, allocations: 0 / 0.7942 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000703/0.5029, allocations: 377.7 kB / 0.7946 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.5033, allocations: 65.84 kB / 0.7946 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009247/0.5042, allocations: 0.5791 MB / 0.7952 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.5046, allocations: 0.8183 MB / 0.796 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001704/0.5048, allocations: 50.25 kB / 0.7961 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.144e-05/0.5048, allocations: 23.44 kB / 0.7961 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.5049, allocations: 0 / 0.7961 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of Templates: time 0.00865/0.5135, allocations: 4.734 MB / 0.8007 GB, free: 15.19 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)