Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|error|sen_nlin.I|sen_lin.I|sen_nlin.V|sen_lin.V|sen_nlin.P|sen_lin.P",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|error|sen_nlin.I|sen_lin.I|sen_nlin.V|sen_lin.V|sen_nlin.P|sen_lin.P",fileNamePrefix="Buildings_latest_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.00688/0.00688, allocations: 101.1 kB / 15.73 MB, free: 6.473 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.001355/0.001355, allocations: 195 kB / 16.67 MB, free: 6.379 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.815/2.815, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 63.84 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3832, allocations: 157.4 MB / 1.208 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.007205/0.3905, allocations: 4.107 MB / 1.212 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0031/0.3936, allocations: 1.597 MB / 1.213 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003977/0.394, allocations: 4 kB / 1.213 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001905/0.396, allocations: 0.5861 MB / 1.214 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0007482/0.3967, allocations: 238.8 kB / 1.214 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006632/0.3974, allocations: 207.6 kB / 1.214 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009008/0.3983, allocations: 0.5491 MB / 1.215 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008856/0.3992, allocations: 473.8 kB / 1.215 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004468/0.3997, allocations: 231.2 kB / 1.215 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006232/0.4003, allocations: 247.2 kB / 1.216 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.4004, allocations: 39.94 kB / 1.216 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004078/0.4008, allocations: 171.7 kB / 1.216 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.401, allocations: 143.7 kB / 1.216 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000292/0.4013, allocations: 195.1 kB / 1.216 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007991/0.4021, allocations: 0.5217 MB / 1.217 GB, free: 352 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.4022, allocations: 0 / 1.217 GB, free: 352 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4022, allocations: 0 / 1.217 GB, free: 352 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.211e-05/0.4022, allocations: 3.938 kB / 1.217 GB, free: 348 kB / 0.9669 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.001664/0.4039, allocations: 0.6864 MB / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.4039, allocations: 12.56 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008315/0.4047, allocations: 108.4 kB / 1.218 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005388/0.4053, allocations: 299.7 kB / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.587e-05/0.4054, allocations: 55.27 kB / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.169e-05/0.4055, allocations: 28.38 kB / 1.218 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009247/0.4064, allocations: 0.5087 MB / 1.218 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.4064, allocations: 4 kB / 1.218 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.396e-05/0.4065, allocations: 16 kB / 1.218 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-05/0.4065, allocations: 28.98 kB / 1.218 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007584/0.4073, allocations: 375.7 kB / 1.219 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002768/0.4101, allocations: 2.208 MB / 1.221 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007007/0.4108, allocations: 262.6 kB / 1.221 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003367/0.4111, allocations: 147 kB / 1.221 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/0.4112, allocations: 8 kB / 1.221 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.4112, allocations: 30.56 kB / 1.221 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.764e-06/0.4112, allocations: 0 / 1.221 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.001459/0.4127, allocations: 0.5673 MB / 1.222 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.4128, allocations: 59.39 kB / 1.222 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.413, allocations: 225 kB / 1.222 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.4131, allocations: 29.7 kB / 1.222 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.4132, allocations: 215.6 kB / 1.222 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.116e-05/0.4133, allocations: 67.09 kB / 1.223 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.503e-05/0.4134, allocations: 57.61 kB / 1.223 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.4135, allocations: 330.8 kB / 1.223 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.4138, allocations: 92.8 kB / 1.223 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002842/0.414, allocations: 188.8 kB / 1.223 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004476/0.4145, allocations: 278.4 kB / 1.223 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4145, allocations: 0 / 1.223 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008414/0.4154, allocations: 376.3 kB / 1.224 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.4154, allocations: 5.562 kB / 1.224 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.4154, allocations: 7.938 kB / 1.224 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000514/0.4159, allocations: 105.8 kB / 1.224 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.4161, allocations: 51.91 kB / 1.224 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00362/0.4198, allocations: 3.051 MB / 1.227 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.42, allocations: 35.73 kB / 1.227 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.4201, allocations: 12 kB / 1.227 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003462/0.4204, allocations: 216 kB / 1.227 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000262/0.4207, allocations: 183.6 kB / 1.227 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004272/0.4211, allocations: 272.5 kB / 1.228 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.4212, allocations: 0 / 1.228 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.000706/0.4219, allocations: 349.8 kB / 1.228 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.4219, allocations: 7.938 kB / 1.228 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.4219, allocations: 8.25 kB / 1.228 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002712/0.4222, allocations: 80.78 kB / 1.228 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.4224, allocations: 59.91 kB / 1.228 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/0.4243, allocations: 1.611 MB / 1.23 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/0.4246, allocations: 35.83 kB / 1.23 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.4246, allocations: 15.94 kB / 1.23 GB, free: 2.008 MB / 0.9825 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.0001676/0.4248, allocations: 192.2 kB / 1.23 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/0.4248, allocations: 23.8 kB / 1.23 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.801e-05/0.4249, allocations: 30.19 kB / 1.23 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4249, allocations: 0 / 1.23 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4249, allocations: 4 kB / 1.23 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.966e-06/0.4249, allocations: 11.92 kB / 1.23 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/0.4264, allocations: 0.8265 MB / 1.231 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4264, allocations: 0 / 1.231 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.4265, allocations: 31.97 kB / 1.231 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003443/0.4269, allocations: 105.8 kB / 1.231 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.4269, allocations: 4 kB / 1.231 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002873/0.4298, allocations: 3.019 MB / 1.234 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4298, allocations: 4.078 kB / 1.234 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007606/0.4306, allocations: 417.1 kB / 1.234 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.4307, allocations: 116.8 kB / 1.234 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.4307, allocations: 8 kB / 1.234 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.4309, allocations: 11.98 kB / 1.234 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.001e-05/0.431, allocations: 23.91 kB / 1.234 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.431, allocations: 12 kB / 1.234 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00016/0.4312, allocations: 160.5 kB / 1.235 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4312, allocations: 0 / 1.235 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006298/0.4318, allocations: 175.3 kB / 1.235 GB, free: 12.45 MB / 0.9981 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.0001403/0.432, allocations: 103.2 kB / 1.235 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00178/0.4338, allocations: 0.7581 MB / 1.236 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4338, allocations: 0 / 1.236 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007517/0.4345, allocations: 379.1 kB / 1.236 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.435, allocations: 55.19 kB / 1.236 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.436, allocations: 0.5867 MB / 1.237 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.4365, allocations: 0.8107 MB / 1.237 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001723/0.4367, allocations: 50.25 kB / 1.237 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.183e-05/0.4367, allocations: 19.44 kB / 1.237 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.4367, allocations: 4 kB / 1.237 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of Templates: time 0.008723/0.4454, allocations: 4.719 MB / 1.242 GB, free: 4.871 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)