Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001121/0.001121, allocations: 188.9 kB / 16.25 MB, free: 6.625 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.597/1.597, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.786/1.786, allocations: 292.2 MB / 0.5485 GB, free: 13.69 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.001723/0.001723, allocations: 66.56 kB / 0.671 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3546, allocations: 114.6 MB / 0.7829 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.008329/0.363, allocations: 3.855 MB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003564/0.3666, allocations: 1.719 MB / 0.7883 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005413/0.3672, allocations: 7.938 kB / 0.7883 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001754/0.369, allocations: 474.5 kB / 0.7888 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008696/0.3699, allocations: 199.1 kB / 0.7889 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008095/0.3707, allocations: 195.6 kB / 0.7891 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009143/0.3716, allocations: 474.4 kB / 0.7896 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009172/0.3726, allocations: 409.4 kB / 0.79 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004253/0.373, allocations: 191.3 kB / 0.7902 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007729/0.3738, allocations: 227.2 kB / 0.7904 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.791e-05/0.3739, allocations: 28 kB / 0.7904 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006345/0.3746, allocations: 247.4 kB / 0.7906 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001909/0.3748, allocations: 127.7 kB / 0.7908 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002736/0.375, allocations: 175.1 kB / 0.7909 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008986/0.3759, allocations: 0.5062 MB / 0.7914 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.376, allocations: 0 / 0.7914 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.685e-06/0.376, allocations: 0 / 0.7914 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.455e-05/0.376, allocations: 0 / 0.7914 GB, free: 5.102 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001627/0.3776, allocations: 0.6355 MB / 0.792 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.3777, allocations: 11.97 kB / 0.7921 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.3787, allocations: 132.4 kB / 0.7922 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005378/0.3793, allocations: 283.7 kB / 0.7924 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.3793, allocations: 21.03 kB / 0.7925 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.687e-05/0.3794, allocations: 24.38 kB / 0.7925 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008861/0.3803, allocations: 471.8 kB / 0.7929 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.3803, allocations: 0 / 0.7929 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/0.3804, allocations: 12 kB / 0.793 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.991e-05/0.3805, allocations: 32.55 kB / 0.793 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005567/0.381, allocations: 317.9 kB / 0.7933 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00264/0.3837, allocations: 2.2 MB / 0.7954 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004357/0.3841, allocations: 243.8 kB / 0.7957 GB, free: 396 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/0.3844, allocations: 112.8 kB / 0.7958 GB, free: 280 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.3845, allocations: 4 kB / 0.7958 GB, free: 276 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.3845, allocations: 38.5 kB / 0.7958 GB, free: 228 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 3.898e-06/0.3845, allocations: 0 / 0.7958 GB, free: 228 kB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0007272/0.3852, allocations: 306.7 kB / 0.7961 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.3853, allocations: 51.41 kB / 0.7962 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/0.3856, allocations: 270.5 kB / 0.7964 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.3857, allocations: 29.7 kB / 0.7964 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.3859, allocations: 207.8 kB / 0.7966 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.11e-05/0.386, allocations: 51.28 kB / 0.7967 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.3861, allocations: 45.94 kB / 0.7967 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002039/0.3863, allocations: 338.8 kB / 0.7971 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.3864, allocations: 60.38 kB / 0.7971 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.3866, allocations: 148 kB / 0.7973 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002996/0.3869, allocations: 214.9 kB / 0.7975 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3869, allocations: 0 / 0.7975 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004845/0.3874, allocations: 268.3 kB / 0.7977 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.3874, allocations: 8.031 kB / 0.7977 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.3875, allocations: 7.984 kB / 0.7977 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002045/0.3877, allocations: 32.78 kB / 0.7978 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.3879, allocations: 39.98 kB / 0.7978 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/0.3892, allocations: 1.426 MB / 0.7992 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.3894, allocations: 27.69 kB / 0.7992 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.3895, allocations: 12.12 kB / 0.7992 GB, free: 12.42 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002235/0.3897, allocations: 176.5 kB / 0.7994 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.914e-05/0.3898, allocations: 23.81 kB / 0.7994 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.13e-05/0.3898, allocations: 29.77 kB / 0.7995 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3898, allocations: 4 kB / 0.7995 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3898, allocations: 0 / 0.7995 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3899, allocations: 3.984 kB / 0.7995 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009887/0.3908, allocations: 0.6986 MB / 0.8001 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3909, allocations: 0 / 0.8001 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.691e-05/0.391, allocations: 27.92 kB / 0.8002 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-05/0.3911, allocations: 32.97 kB / 0.8002 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.3911, allocations: 4 kB / 0.8002 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.3923, allocations: 1.41 MB / 0.8016 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.3923, allocations: 0 / 0.8016 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000412/0.3927, allocations: 317.1 kB / 0.8019 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.3928, allocations: 120.7 kB / 0.802 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.3929, allocations: 8 kB / 0.802 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.3931, allocations: 12 kB / 0.802 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.3931, allocations: 19.86 kB / 0.802 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.3931, allocations: 8 kB / 0.802 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001854/0.3933, allocations: 190 kB / 0.8022 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3933, allocations: 0 / 0.8022 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004092/0.3937, allocations: 79.75 kB / 0.8023 GB, free: 8.984 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001453/0.3939, allocations: 103.2 kB / 0.8024 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005244/0.3944, allocations: 281.9 kB / 0.8027 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.3945, allocations: 0 / 0.8027 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002168/0.3947, allocations: 187.7 kB / 0.8028 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005653/0.3952, allocations: 64.39 kB / 0.8029 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.3964, allocations: 0.6685 MB / 0.8036 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.3968, allocations: 0.787 MB / 0.8043 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000175/0.397, allocations: 46.25 kB / 0.8044 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/0.397, allocations: 23.44 kB / 0.8044 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of SimCode: time 4.01e-07/0.3971, allocations: 0 / 0.8044 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of Templates: time 0.007618/0.4047, allocations: 2.684 MB / 0.807 GB, free: 4.07 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)