Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad") translateModel(BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 111.2 kB / 16.37 MB, free: 5.539 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.001014/0.001014, allocations: 191.6 kB / 17.3 MB, free: 5.18 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.275/1.275, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002105/0.002106, allocations: 283.4 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9193/0.9193, allocations: 169.2 MB / 0.4989 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 93.41 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1445, allocations: 86.97 MB / 0.6816 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad): time 0.004863/0.1494, allocations: 3.839 MB / 0.6854 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002337/0.1517, allocations: 1.769 MB / 0.6871 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.1519, allocations: 11.94 kB / 0.6871 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.153, allocations: 442.2 kB / 0.6875 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000401/0.1534, allocations: 242.8 kB / 0.6878 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004658/0.1539, allocations: 254.7 kB / 0.688 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004736/0.1544, allocations: 0.4945 MB / 0.6885 GB, free: 380 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004888/0.1549, allocations: 356.9 kB / 0.6888 GB, free: 24 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2485/0.4034, allocations: 195.5 kB / 0.689 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004237/0.4038, allocations: 237.3 kB / 0.6892 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.76e-05/0.4039, allocations: 30.44 kB / 0.6893 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003501/0.4042, allocations: 184.3 kB / 0.6894 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.4044, allocations: 130.2 kB / 0.6896 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.4046, allocations: 179 kB / 0.6897 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005753/0.4052, allocations: 496.8 kB / 0.6902 GB, free: 12.92 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4052, allocations: 7.594 kB / 0.6902 GB, free: 12.92 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4052, allocations: 2.109 kB / 0.6902 GB, free: 12.92 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.4052, allocations: 0 / 0.6902 GB, free: 12.92 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0009476/0.4062, allocations: 0.6563 MB / 0.6909 GB, free: 12.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.4062, allocations: 10.52 kB / 0.6909 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005387/0.4067, allocations: 79.77 kB / 0.6909 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.4071, allocations: 304.3 kB / 0.6912 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.4071, allocations: 25.95 kB / 0.6913 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.4072, allocations: 27.34 kB / 0.6913 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007449/0.4079, allocations: 489.6 kB / 0.6918 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.408, allocations: 4.734 kB / 0.6918 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.563e-05/0.408, allocations: 14.22 kB / 0.6918 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-05/0.4081, allocations: 38.17 kB / 0.6918 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000712/0.4088, allocations: 366.4 kB / 0.6922 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/0.4106, allocations: 2.037 MB / 0.6941 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00053/0.4112, allocations: 214.3 kB / 0.6944 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003543/0.4115, allocations: 154.2 kB / 0.6945 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.4116, allocations: 6.484 kB / 0.6945 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.4116, allocations: 38.53 kB / 0.6945 GB, free: 10.51 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.452e-06/0.4116, allocations: 0 / 0.6945 GB, free: 10.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0009871/0.4126, allocations: 424.5 kB / 0.6949 GB, free: 10.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.4126, allocations: 53.16 kB / 0.695 GB, free: 10.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.4128, allocations: 266.1 kB / 0.6953 GB, free: 10.19 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.4129, allocations: 31.77 kB / 0.6953 GB, free: 10.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.262e-05/0.413, allocations: 215.2 kB / 0.6955 GB, free: 10.01 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.413, allocations: 60.42 kB / 0.6955 GB, free: 9.973 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.342e-05/0.4131, allocations: 59.94 kB / 0.6956 GB, free: 9.949 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.217e-05/0.4132, allocations: 339.4 kB / 0.6959 GB, free: 9.633 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.4134, allocations: 96.83 kB / 0.696 GB, free: 9.625 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/0.4137, allocations: 206 kB / 0.6962 GB, free: 9.492 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004926/0.4142, allocations: 316.2 kB / 0.6965 GB, free: 9.352 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4142, allocations: 2.469 kB / 0.6965 GB, free: 9.352 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007229/0.4149, allocations: 349.6 kB / 0.6969 GB, free: 9.297 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.4149, allocations: 6.438 kB / 0.6969 GB, free: 9.297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.4149, allocations: 3.656 kB / 0.6969 GB, free: 9.297 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001858/0.4151, allocations: 34.39 kB / 0.6969 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.4154, allocations: 71.97 kB / 0.697 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000971/0.4164, allocations: 1.439 MB / 0.6984 GB, free: 7.934 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.4167, allocations: 40.88 kB / 0.6984 GB, free: 7.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.4167, allocations: 15.22 kB / 0.6984 GB, free: 7.918 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000311/0.417, allocations: 217.7 kB / 0.6986 GB, free: 7.832 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002526/0.4173, allocations: 218.4 kB / 0.6988 GB, free: 7.676 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000463/0.4177, allocations: 313.5 kB / 0.6991 GB, free: 7.527 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.076e-06/0.4177, allocations: 1.438 kB / 0.6991 GB, free: 7.527 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006363/0.4184, allocations: 336.7 kB / 0.6995 GB, free: 7.473 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.4184, allocations: 7.125 kB / 0.6995 GB, free: 7.473 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4184, allocations: 4.625 kB / 0.6995 GB, free: 7.473 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.312e-06/0.4184, allocations: 9.688 kB / 0.6995 GB, free: 7.469 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.4187, allocations: 74.95 kB / 0.6996 GB, free: 7.469 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.4187, allocations: 10.02 kB / 0.6996 GB, free: 7.469 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.419, allocations: 32.14 kB / 0.6996 GB, free: 7.461 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.419, allocations: 15.09 kB / 0.6996 GB, free: 7.461 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 8.079e-05/0.4191, allocations: 203 kB / 0.6998 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.4191, allocations: 33.17 kB / 0.6998 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.899e-05/0.4192, allocations: 30.97 kB / 0.6999 GB, free: 7.242 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4192, allocations: 5.969 kB / 0.6999 GB, free: 7.242 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.4192, allocations: 1.703 kB / 0.6999 GB, free: 7.242 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.4192, allocations: 5.062 kB / 0.6999 GB, free: 7.238 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.4203, allocations: 0.7548 MB / 0.7006 GB, free: 6.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.4203, allocations: 1.406 kB / 0.7006 GB, free: 6.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.4205, allocations: 35.61 kB / 0.7006 GB, free: 6.723 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-05/0.4206, allocations: 34.95 kB / 0.7007 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.4206, allocations: 1.688 kB / 0.7007 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007102/0.4214, allocations: 1.422 MB / 0.7021 GB, free: 5.293 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4214, allocations: 1.188 kB / 0.7021 GB, free: 5.293 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005768/0.422, allocations: 367.6 kB / 0.7024 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.652e-05/0.4221, allocations: 115.5 kB / 0.7025 GB, free: 4.957 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.4221, allocations: 7.266 kB / 0.7025 GB, free: 4.953 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.4223, allocations: 12.39 kB / 0.7025 GB, free: 4.953 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/0.4224, allocations: 20.27 kB / 0.7026 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.4224, allocations: 9.344 kB / 0.7026 GB, free: 4.941 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001599/0.4226, allocations: 186.6 kB / 0.7028 GB, free: 4.836 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4226, allocations: 1.031 kB / 0.7028 GB, free: 4.836 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005601/0.4231, allocations: 143.8 kB / 0.7029 GB, free: 4.801 MB / 494.1 MB 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 (18): * Single equations (assignments): 17 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 8.496e-05/0.4232, allocations: 106.9 kB / 0.703 GB, free: 4.711 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009784/0.4242, allocations: 490.1 kB / 0.7035 GB, free: 4.527 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4242, allocations: 4.062 kB / 0.7035 GB, free: 4.523 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003296/0.4246, allocations: 221.9 kB / 0.7037 GB, free: 4.387 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/0.425, allocations: 73.11 kB / 0.7037 GB, free: 4.367 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008242/0.4259, allocations: 0.5457 MB / 0.7043 GB, free: 4.047 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.4261, allocations: 0.8029 MB / 0.7051 GB, free: 3.332 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00024/0.4264, allocations: 68.91 kB / 0.7051 GB, free: 3.316 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.341e-05/0.4265, allocations: 26.05 kB / 0.7052 GB, free: 3.305 MB / 494.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4265, allocations: 0 / 0.7052 GB, free: 3.305 MB / 494.1 MB Notification: Performance of Templates: time 0.008507/0.435, allocations: 3.537 MB / 0.7086 GB, free: 3.102 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)