Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001173/0.001174, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.009328/0.009328, allocations: 170.5 kB / 16.27 MB, free: 6.652 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.502/1.502, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.831/1.831, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.001012/0.001012, allocations: 12.56 kB / 0.6743 GB, free: 25.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2824, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.004572/0.287, allocations: 3.498 MB / 0.7913 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003302/0.2904, allocations: 1.746 MB / 0.793 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004233/0.2908, allocations: 11.94 kB / 0.793 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003682/0.2912, allocations: 55.56 kB / 0.7931 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0009219/0.2922, allocations: 235 kB / 0.7933 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008563/0.293, allocations: 226.9 kB / 0.7935 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009087/0.294, allocations: 0.7051 MB / 0.7942 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005476/0.2945, allocations: 361.5 kB / 0.7945 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003674/0.2949, allocations: 151.4 kB / 0.7947 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000533/0.2954, allocations: 227.1 kB / 0.7949 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.102e-05/0.2955, allocations: 19.98 kB / 0.7949 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005088/0.296, allocations: 223.5 kB / 0.7951 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.2962, allocations: 115.7 kB / 0.7952 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002307/0.2965, allocations: 188.8 kB / 0.7954 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006654/0.2971, allocations: 486.5 kB / 0.7959 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2971, allocations: 0 / 0.7959 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2972, allocations: 0 / 0.7959 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.556e-05/0.2972, allocations: 4 kB / 0.7959 GB, free: 3.324 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001201/0.2984, allocations: 0.6004 MB / 0.7965 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.2984, allocations: 12.03 kB / 0.7965 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006549/0.2991, allocations: 84.41 kB / 0.7966 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/0.2995, allocations: 295.4 kB / 0.7968 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.2996, allocations: 21.03 kB / 0.7969 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.478e-05/0.2996, allocations: 36.3 kB / 0.7969 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008548/0.3005, allocations: 498 kB / 0.7974 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.3005, allocations: 3.938 kB / 0.7974 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/0.3006, allocations: 12 kB / 0.7974 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.867e-05/0.3006, allocations: 44.56 kB / 0.7974 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000789/0.3014, allocations: 386.2 kB / 0.7978 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002438/0.3039, allocations: 2.052 MB / 0.7998 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005937/0.3045, allocations: 222.7 kB / 0.8 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004138/0.3049, allocations: 172.8 kB / 0.8002 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.305, allocations: 0 / 0.8002 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.305, allocations: 38.5 kB / 0.8002 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=18): time 1.313e-06/0.305, allocations: 0 / 0.8002 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18): time 0.00117/0.3062, allocations: 458 kB / 0.8007 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.3063, allocations: 51.41 kB / 0.8007 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/0.3065, allocations: 270.5 kB / 0.801 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.3066, allocations: 29.7 kB / 0.801 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.3067, allocations: 203.8 kB / 0.8012 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.864e-05/0.3068, allocations: 63.09 kB / 0.8012 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/0.3069, allocations: 33.64 kB / 0.8013 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.307, allocations: 342.8 kB / 0.8016 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.3073, allocations: 100.5 kB / 0.8017 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003132/0.3076, allocations: 219.5 kB / 0.8019 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006116/0.3082, allocations: 333.4 kB / 0.8022 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/0.3082, allocations: 0 / 0.8022 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008659/0.3091, allocations: 376.8 kB / 0.8026 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001599/0.3093, allocations: 202 kB / 0.8028 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.3093, allocations: 4 kB / 0.8028 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002143/0.3095, allocations: 36.81 kB / 0.8028 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.3098, allocations: 75.89 kB / 0.8029 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/0.311, allocations: 1.331 MB / 0.8042 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/0.3113, allocations: 47.58 kB / 0.8042 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.3113, allocations: 16 kB / 0.8042 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/0.3113, allocations: 7.938 kB / 0.8043 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006129/0.3119, allocations: 299.8 kB / 0.8045 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.312, allocations: 7.984 kB / 0.8046 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.114e-06/0.312, allocations: 4 kB / 0.8046 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002673/0.3123, allocations: 79.97 kB / 0.8046 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3123, allocations: 11.98 kB / 0.8046 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.3125, allocations: 39.73 kB / 0.8047 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.3125, allocations: 15.94 kB / 0.8047 GB, free: 9.59 MB / 0.6231 GB 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 0.000206/0.3127, allocations: 249.6 kB / 0.8049 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.3128, allocations: 23.72 kB / 0.805 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.337e-05/0.3129, allocations: 38.11 kB / 0.805 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3129, allocations: 4 kB / 0.805 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3129, allocations: 0 / 0.805 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3129, allocations: 0 / 0.805 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.3141, allocations: 0.7645 MB / 0.8057 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.3141, allocations: 4 kB / 0.8057 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.3143, allocations: 51.97 kB / 0.8058 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/0.3144, allocations: 24.84 kB / 0.8058 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.3145, allocations: 4 kB / 0.8058 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.3155, allocations: 1.323 MB / 0.8071 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.3155, allocations: 3.938 kB / 0.8071 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006658/0.3162, allocations: 393.8 kB / 0.8075 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.3163, allocations: 116.8 kB / 0.8076 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.3164, allocations: 7.938 kB / 0.8076 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.3165, allocations: 19.98 kB / 0.8076 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.3166, allocations: 19.98 kB / 0.8077 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.3166, allocations: 7.984 kB / 0.8077 GB, free: 6.285 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001895/0.3168, allocations: 178 kB / 0.8078 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3168, allocations: 0 / 0.8078 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006153/0.3175, allocations: 147.5 kB / 0.808 GB, free: 5.969 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 (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 0.0001356/0.3176, allocations: 109.6 kB / 0.8081 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001162/0.3188, allocations: 0.5075 MB / 0.8086 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3188, allocations: 0 / 0.8086 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003654/0.3192, allocations: 226.5 kB / 0.8088 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.3197, allocations: 76.8 kB / 0.8089 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.321, allocations: 0.698 MB / 0.8095 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.3214, allocations: 0.7995 MB / 0.8103 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002451/0.3217, allocations: 66.23 kB / 0.8104 GB, free: 3.402 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.074e-05/0.3217, allocations: 27.44 kB / 0.8104 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of SimCode: time 4.51e-07/0.3218, allocations: 3.938 kB / 0.8104 GB, free: 3.371 MB / 0.6231 GB Notification: Performance of Templates: time 0.008726/0.3305, allocations: 3.215 MB / 0.8136 GB, free: 196 kB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) Environment - environmentSimulation: