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.001315/0.001315, allocations: 106.1 kB / 16.35 MB, free: 6.348 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.001141/0.001142, allocations: 196.9 kB / 17.29 MB, free: 5.93 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.422/1.422, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.822/1.822, allocations: 292.3 MB / 0.5496 GB, free: 17.47 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.00144/0.00144, allocations: 71.19 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2302, allocations: 114.6 MB / 0.7848 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.3737/0.6039, allocations: 3.831 MB / 0.7885 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002346/0.6063, allocations: 1.779 MB / 0.7902 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.6065, allocations: 8.25 kB / 0.7903 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.6077, allocations: 437.9 kB / 0.7907 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000507/0.6082, allocations: 248.6 kB / 0.7909 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000537/0.6088, allocations: 249.1 kB / 0.7911 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00044/0.6092, allocations: 0.4953 MB / 0.7916 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005035/0.6097, allocations: 362.1 kB / 0.792 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.6099, allocations: 197.6 kB / 0.7922 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003107/0.6103, allocations: 239.4 kB / 0.7924 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.912e-05/0.6103, allocations: 31.03 kB / 0.7924 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003084/0.6106, allocations: 179.9 kB / 0.7926 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.6108, allocations: 133.4 kB / 0.7927 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.6109, allocations: 180 kB / 0.7929 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000427/0.6114, allocations: 0.4897 MB / 0.7934 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.6114, allocations: 0.5 kB / 0.7934 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.173e-06/0.6114, allocations: 0.625 kB / 0.7934 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.6114, allocations: 0 / 0.7934 GB, free: 46.37 MB / 0.6544 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.0009656/0.6124, allocations: 0.6586 MB / 0.794 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.6124, allocations: 9.969 kB / 0.794 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005425/0.6129, allocations: 85.08 kB / 0.7941 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.6133, allocations: 293 kB / 0.7944 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.6133, allocations: 21.78 kB / 0.7944 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.05e-05/0.6134, allocations: 32.39 kB / 0.7944 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007112/0.6141, allocations: 490 kB / 0.7949 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.6141, allocations: 3.438 kB / 0.7949 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.6142, allocations: 17.52 kB / 0.7949 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.536e-05/0.6142, allocations: 36.19 kB / 0.795 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006477/0.6149, allocations: 366.3 kB / 0.7953 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.6165, allocations: 2.031 MB / 0.7973 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004923/0.617, allocations: 216.5 kB / 0.7975 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.6174, allocations: 149.5 kB / 0.7976 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.6174, allocations: 3.812 kB / 0.7976 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.6174, allocations: 42.08 kB / 0.7977 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.6174, allocations: 3.938 kB / 0.7977 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0009731/0.6184, allocations: 424.9 kB / 0.7981 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.6184, allocations: 52.06 kB / 0.7981 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.6187, allocations: 259.3 kB / 0.7984 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.6187, allocations: 33.23 kB / 0.7984 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.382e-05/0.6188, allocations: 212.8 kB / 0.7986 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.6188, allocations: 59.5 kB / 0.7987 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.742e-05/0.6189, allocations: 60.64 kB / 0.7987 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.832e-05/0.619, allocations: 344.3 kB / 0.7991 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.6192, allocations: 96.69 kB / 0.7992 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.6195, allocations: 204.4 kB / 0.7994 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004686/0.6199, allocations: 312.1 kB / 0.7997 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.6199, allocations: 2.75 kB / 0.7997 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006644/0.6206, allocations: 359.8 kB / 0.8 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.6206, allocations: 7.781 kB / 0.8 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.6207, allocations: 4.469 kB / 0.8 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001958/0.6209, allocations: 31.97 kB / 0.8 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.6211, allocations: 70.11 kB / 0.8001 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/0.6222, allocations: 1.437 MB / 0.8015 GB, free: 41.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.6224, allocations: 40.52 kB / 0.8015 GB, free: 41.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.6225, allocations: 19.05 kB / 0.8016 GB, free: 41.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003422/0.6228, allocations: 211 kB / 0.8018 GB, free: 41.06 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002631/0.6231, allocations: 213.8 kB / 0.802 GB, free: 40.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004769/0.6236, allocations: 325.6 kB / 0.8023 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.936e-06/0.6236, allocations: 0.5312 kB / 0.8023 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000611/0.6242, allocations: 336.8 kB / 0.8026 GB, free: 40.55 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.789e-06/0.6242, allocations: 3.844 kB / 0.8026 GB, free: 40.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.6242, allocations: 4.438 kB / 0.8026 GB, free: 40.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.021e-06/0.6243, allocations: 6.25 kB / 0.8026 GB, free: 40.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.6245, allocations: 82.81 kB / 0.8027 GB, free: 40.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.6245, allocations: 3.656 kB / 0.8027 GB, free: 40.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.6248, allocations: 40.77 kB / 0.8027 GB, free: 40.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.6248, allocations: 14.47 kB / 0.8028 GB, free: 40.53 MB / 0.6544 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 9.917e-05/0.6249, allocations: 201 kB / 0.8029 GB, free: 40.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/0.625, allocations: 21.72 kB / 0.803 GB, free: 40.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.901e-05/0.625, allocations: 34.19 kB / 0.803 GB, free: 40.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.625, allocations: 10.06 kB / 0.803 GB, free: 40.29 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.6251, allocations: 0 / 0.803 GB, free: 40.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.6251, allocations: 3.234 kB / 0.803 GB, free: 40.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.6262, allocations: 0.753 MB / 0.8037 GB, free: 39.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.6262, allocations: 0.6562 kB / 0.8037 GB, free: 39.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.6264, allocations: 39.27 kB / 0.8038 GB, free: 39.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001038/0.6265, allocations: 26.66 kB / 0.8038 GB, free: 39.76 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.6265, allocations: 7.5 kB / 0.8038 GB, free: 39.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007389/0.6273, allocations: 1.421 MB / 0.8052 GB, free: 38.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.6273, allocations: 2 kB / 0.8052 GB, free: 38.35 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00061/0.6279, allocations: 372.6 kB / 0.8056 GB, free: 38.12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.628, allocations: 116.8 kB / 0.8057 GB, free: 38 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.6281, allocations: 5.844 kB / 0.8057 GB, free: 38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.6283, allocations: 17.5 kB / 0.8057 GB, free: 38 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.798e-05/0.6283, allocations: 13.64 kB / 0.8057 GB, free: 38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.6284, allocations: 15.62 kB / 0.8057 GB, free: 37.99 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001876/0.6286, allocations: 183.1 kB / 0.8059 GB, free: 37.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6286, allocations: 4 kB / 0.8059 GB, free: 37.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006478/0.6292, allocations: 145.1 kB / 0.806 GB, free: 37.84 MB / 0.6544 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.0001209/0.6293, allocations: 98.05 kB / 0.8061 GB, free: 37.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001126/0.6305, allocations: 0.4928 MB / 0.8066 GB, free: 37.55 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6305, allocations: 0 / 0.8066 GB, free: 37.55 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003466/0.6308, allocations: 219.4 kB / 0.8068 GB, free: 37.42 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/0.6314, allocations: 68.61 kB / 0.8069 GB, free: 37.41 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009024/0.6323, allocations: 0.5485 MB / 0.8074 GB, free: 37.07 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.6326, allocations: 0.7995 MB / 0.8082 GB, free: 36.36 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002305/0.6328, allocations: 66.7 kB / 0.8083 GB, free: 36.36 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.6329, allocations: 34.64 kB / 0.8083 GB, free: 36.34 MB / 0.6544 GB Notification: Performance of SimCode: time 4.11e-07/0.6329, allocations: 0 / 0.8083 GB, free: 36.34 MB / 0.6544 GB Notification: Performance of Templates: time 0.008381/0.6413, allocations: 3.524 MB / 0.8117 GB, free: 36.18 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)