Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 104.8 kB / 16.36 MB, free: 6.309 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.001389/0.001389, allocations: 189.3 kB / 17.3 MB, free: 5.871 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.751/1.751, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.928/1.928, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.002051/0.002051, allocations: 71.03 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2902, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.521/0.8112, allocations: 3.264 MB / 0.788 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003206/0.8145, allocations: 1.864 MB / 0.7898 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.8147, allocations: 5.75 kB / 0.7898 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008711/0.8156, allocations: 286.2 kB / 0.7901 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003917/0.816, allocations: 217.1 kB / 0.7903 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005984/0.8166, allocations: 284.5 kB / 0.7906 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003904/0.817, allocations: 405.6 kB / 0.7909 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003533/0.8174, allocations: 206.3 kB / 0.7911 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.8176, allocations: 163.1 kB / 0.7913 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003316/0.8179, allocations: 198.4 kB / 0.7915 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.873e-05/0.818, allocations: 23.62 kB / 0.7915 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000347/0.8183, allocations: 234.8 kB / 0.7917 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.8184, allocations: 122.1 kB / 0.7919 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.8186, allocations: 151.9 kB / 0.792 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004644/0.819, allocations: 469.4 kB / 0.7924 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.819, allocations: 0.9375 kB / 0.7924 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8191, allocations: 0.5312 kB / 0.7924 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.8191, allocations: 1.625 kB / 0.7924 GB, free: 46.41 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001055/0.8201, allocations: 0.5921 MB / 0.793 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.8202, allocations: 10.5 kB / 0.793 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007005/0.8209, allocations: 97.86 kB / 0.7931 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.8212, allocations: 280.3 kB / 0.7934 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.8212, allocations: 21.17 kB / 0.7934 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.8213, allocations: 33.2 kB / 0.7934 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005417/0.8219, allocations: 443.7 kB / 0.7939 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.8219, allocations: 7.188 kB / 0.7939 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/0.822, allocations: 12.05 kB / 0.7939 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000142/0.8221, allocations: 43.47 kB / 0.7939 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000475/0.8226, allocations: 349.2 kB / 0.7943 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.8245, allocations: 2.197 MB / 0.7964 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/0.8248, allocations: 265.4 kB / 0.7967 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.825, allocations: 158.6 kB / 0.7968 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.825, allocations: 7.25 kB / 0.7968 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.825, allocations: 38.34 kB / 0.7969 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.8251, allocations: 3.5 kB / 0.7969 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.001463/0.8265, allocations: 1.05 MB / 0.7979 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.505e-05/0.8265, allocations: 54.88 kB / 0.7979 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.8268, allocations: 254.2 kB / 0.7982 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.8268, allocations: 38.89 kB / 0.7982 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.245e-05/0.8269, allocations: 185.2 kB / 0.7984 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.403e-05/0.827, allocations: 79.11 kB / 0.7985 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.8271, allocations: 78.98 kB / 0.7985 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.134e-05/0.8271, allocations: 331.3 kB / 0.7989 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.8274, allocations: 154.8 kB / 0.799 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.8276, allocations: 236.8 kB / 0.7992 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004591/0.8281, allocations: 403.7 kB / 0.7996 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8281, allocations: 4 kB / 0.7996 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001013/0.8291, allocations: 0.5871 MB / 0.8002 GB, free: 42.31 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.8291, allocations: 6.531 kB / 0.8002 GB, free: 42.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.8292, allocations: 6.188 kB / 0.8002 GB, free: 42.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006488/0.8298, allocations: 189.1 kB / 0.8004 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.8301, allocations: 60.33 kB / 0.8004 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002618/0.8327, allocations: 2.493 MB / 0.8029 GB, free: 40.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000286/0.833, allocations: 26.31 kB / 0.8029 GB, free: 40.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/0.8331, allocations: 19.97 kB / 0.8029 GB, free: 40.45 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001727/0.8333, allocations: 165.9 kB / 0.8031 GB, free: 40.31 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.779e-05/0.8333, allocations: 27.19 kB / 0.8031 GB, free: 40.29 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005369/0.8339, allocations: 355.2 kB / 0.8034 GB, free: 40.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.8339, allocations: 1.172 kB / 0.8034 GB, free: 40.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.8339, allocations: 0.5625 kB / 0.8035 GB, free: 40.14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.834, allocations: 126.8 kB / 0.8036 GB, free: 40.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.8341, allocations: 11.12 kB / 0.8036 GB, free: 40.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.8343, allocations: 14.02 kB / 0.8036 GB, free: 40.02 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.8343, allocations: 10.92 kB / 0.8036 GB, free: 40.02 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009844/0.8353, allocations: 499.7 kB / 0.8041 GB, free: 39.79 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007852/0.8361, allocations: 0.6953 MB / 0.8048 GB, free: 39.41 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000221/0.8363, allocations: 154 kB / 0.8049 GB, free: 39.36 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001649/0.8365, allocations: 181.2 kB / 0.8051 GB, free: 39.25 MB / 0.6544 GB Notification: Performance of Backend: time 6.02e-07/0.8365, allocations: 0 / 0.8051 GB, free: 39.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001314/0.8378, allocations: 0.6052 MB / 0.8057 GB, free: 38.94 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001286/0.8391, allocations: 1.183 MB / 0.8068 GB, free: 38.03 MB / 0.6544 GB Notification: Performance of Templates: time 0.01147/0.8506, allocations: 5.75 MB / 0.8124 GB, free: 37.68 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)