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.001298/0.001298, allocations: 106.7 kB / 16.36 MB, free: 6.258 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.001073/0.001073, allocations: 189.7 kB / 17.3 MB, free: 5.848 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.436/1.436, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.837/1.837, allocations: 292.3 MB / 0.5496 GB, free: 17.43 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.00149/0.001491, allocations: 71.91 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2762, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.5076/0.7838, allocations: 3.84 MB / 0.7885 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002659/0.7866, allocations: 1.772 MB / 0.7903 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.7868, allocations: 10.69 kB / 0.7903 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001626/0.7885, allocations: 440.9 kB / 0.7907 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0007708/0.7892, allocations: 246.4 kB / 0.7909 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008527/0.7901, allocations: 251.6 kB / 0.7912 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007137/0.7908, allocations: 0.4955 MB / 0.7917 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006124/0.7915, allocations: 360.7 kB / 0.792 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.7917, allocations: 198.2 kB / 0.7922 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003536/0.7921, allocations: 232 kB / 0.7924 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.332e-05/0.7921, allocations: 28.88 kB / 0.7924 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003328/0.7925, allocations: 187.6 kB / 0.7926 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.7926, allocations: 133.1 kB / 0.7927 GB, free: 47 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.7928, allocations: 175.6 kB / 0.7929 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004735/0.7933, allocations: 0.4921 MB / 0.7934 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.7933, allocations: 1.094 kB / 0.7934 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.725e-06/0.7933, allocations: 0 / 0.7934 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.7933, allocations: 1.969 kB / 0.7934 GB, free: 46.86 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.001048/0.7943, allocations: 0.6585 MB / 0.794 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.7944, allocations: 13.5 kB / 0.794 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005634/0.795, allocations: 83.61 kB / 0.7941 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.7953, allocations: 301 kB / 0.7944 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.7954, allocations: 23.09 kB / 0.7944 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.081e-05/0.7954, allocations: 25.16 kB / 0.7945 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007489/0.7962, allocations: 497.1 kB / 0.7949 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.7962, allocations: 1.781 kB / 0.7949 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/0.7962, allocations: 12.56 kB / 0.7949 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.956e-05/0.7963, allocations: 37.16 kB / 0.795 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006485/0.7969, allocations: 366.8 kB / 0.7953 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00172/0.7987, allocations: 2.04 MB / 0.7973 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005049/0.7992, allocations: 205.9 kB / 0.7975 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003433/0.7995, allocations: 158.8 kB / 0.7977 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.7996, allocations: 3.375 kB / 0.7977 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.7996, allocations: 32.95 kB / 0.7977 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 2.064e-06/0.7996, allocations: 0 / 0.7977 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0009998/0.8006, allocations: 432.7 kB / 0.7981 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.829e-05/0.8006, allocations: 54.92 kB / 0.7982 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.8009, allocations: 265 kB / 0.7984 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.8009, allocations: 29.7 kB / 0.7985 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.635e-05/0.801, allocations: 210.6 kB / 0.7987 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.801, allocations: 64.03 kB / 0.7987 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.114e-05/0.8011, allocations: 62.45 kB / 0.7988 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.593e-05/0.8012, allocations: 337.4 kB / 0.7991 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.8014, allocations: 101.3 kB / 0.7992 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.8017, allocations: 203 kB / 0.7994 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004908/0.8022, allocations: 311.7 kB / 0.7997 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.8022, allocations: 2.875 kB / 0.7997 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006945/0.8029, allocations: 352.4 kB / 0.8 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.8029, allocations: 9.781 kB / 0.8 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.803, allocations: 5.5 kB / 0.8 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002113/0.8032, allocations: 33.97 kB / 0.8001 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.8035, allocations: 69.98 kB / 0.8001 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/0.8045, allocations: 1.43 MB / 0.8015 GB, free: 41.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.8048, allocations: 44.31 kB / 0.8016 GB, free: 41.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.8048, allocations: 18.06 kB / 0.8016 GB, free: 41.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003594/0.8052, allocations: 215.3 kB / 0.8018 GB, free: 41.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003538/0.8055, allocations: 213.2 kB / 0.802 GB, free: 41.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000549/0.8061, allocations: 320.5 kB / 0.8023 GB, free: 40.84 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.236e-06/0.8061, allocations: 4.703 kB / 0.8023 GB, free: 40.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006619/0.8068, allocations: 341.1 kB / 0.8026 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.8068, allocations: 5.625 kB / 0.8026 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.8068, allocations: 6.219 kB / 0.8026 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.649e-06/0.8068, allocations: 3.656 kB / 0.8026 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.8071, allocations: 72.41 kB / 0.8027 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.8071, allocations: 6.641 kB / 0.8027 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.8073, allocations: 40.78 kB / 0.8028 GB, free: 40.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.8074, allocations: 14.72 kB / 0.8028 GB, free: 40.7 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.04e-05/0.8075, allocations: 202.3 kB / 0.803 GB, free: 40.51 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.281e-05/0.8075, allocations: 24.34 kB / 0.803 GB, free: 40.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.531e-05/0.8076, allocations: 35.23 kB / 0.803 GB, free: 40.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.8076, allocations: 0 / 0.803 GB, free: 40.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.8076, allocations: 3.938 kB / 0.803 GB, free: 40.47 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.463e-05/0.8077, allocations: 118.1 kB / 0.8031 GB, free: 40.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.8077, allocations: 3.219 kB / 0.8031 GB, free: 40.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.8079, allocations: 21.64 kB / 0.8032 GB, free: 40.35 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.775e-05/0.808, allocations: 20.03 kB / 0.8032 GB, free: 40.34 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006847/0.8087, allocations: 328 kB / 0.8035 GB, free: 40.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008051/0.8095, allocations: 498.1 kB / 0.804 GB, free: 39.89 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002473/0.8097, allocations: 93.31 kB / 0.8041 GB, free: 39.86 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001788/0.8099, allocations: 184.6 kB / 0.8042 GB, free: 39.75 MB / 0.6544 GB Notification: Performance of Backend: time 4.01e-07/0.8099, allocations: 1.406 kB / 0.8042 GB, free: 39.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001515/0.8115, allocations: 0.5868 MB / 0.8048 GB, free: 39.5 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001204/0.8127, allocations: 1.009 MB / 0.8058 GB, free: 38.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.01526/0.828, allocations: 4.802 MB / 0.8105 GB, free: 38.46 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)