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.001147/0.001147, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001259/0.001259, allocations: 191.2 kB / 16.25 MB, free: 6.621 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.723/1.723, allocations: 205.1 MB / 222.1 MB, free: 4.738 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.771/1.771, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.001466/0.001466, allocations: 66.92 kB / 0.671 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.286, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.006092/0.2922, allocations: 3.294 MB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003479/0.2957, allocations: 1.848 MB / 0.7879 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002218/0.296, allocations: 7.938 kB / 0.7879 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009442/0.297, allocations: 271.1 kB / 0.7882 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004974/0.2975, allocations: 199.2 kB / 0.7883 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006945/0.2982, allocations: 267.5 kB / 0.7886 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004488/0.2986, allocations: 410.7 kB / 0.789 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004363/0.2991, allocations: 228.5 kB / 0.7892 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.2993, allocations: 163.4 kB / 0.7894 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003434/0.2997, allocations: 203.3 kB / 0.7896 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.721e-05/0.2997, allocations: 24 kB / 0.7896 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003623/0.3001, allocations: 239.5 kB / 0.7898 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.3002, allocations: 119.7 kB / 0.7899 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.3004, allocations: 147.2 kB / 0.7901 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004966/0.3009, allocations: 486.4 kB / 0.7905 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3009, allocations: 0 / 0.7905 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3009, allocations: 0 / 0.7905 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.3009, allocations: 0 / 0.7905 GB, free: 6.023 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001071/0.302, allocations: 0.5965 MB / 0.7911 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.302, allocations: 12.03 kB / 0.7911 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007276/0.3028, allocations: 92.47 kB / 0.7912 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.3031, allocations: 276.4 kB / 0.7915 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.3032, allocations: 20.91 kB / 0.7915 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.3033, allocations: 32.73 kB / 0.7915 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006677/0.304, allocations: 449.1 kB / 0.792 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.304, allocations: 3.938 kB / 0.792 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.113e-05/0.304, allocations: 11.98 kB / 0.792 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001406/0.3042, allocations: 40.53 kB / 0.792 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005209/0.3047, allocations: 349.9 kB / 0.7923 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002405/0.3071, allocations: 2.199 MB / 0.7945 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004216/0.3076, allocations: 266.4 kB / 0.7947 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.3078, allocations: 172.8 kB / 0.7949 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.3079, allocations: 0 / 0.7949 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.3079, allocations: 38.56 kB / 0.7949 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.644e-06/0.3079, allocations: 0 / 0.7949 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.001967/0.3099, allocations: 1.056 MB / 0.796 GB, free: 32 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.31, allocations: 63.34 kB / 0.796 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.3103, allocations: 252.8 kB / 0.7963 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.3103, allocations: 25.7 kB / 0.7963 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.3104, allocations: 192 kB / 0.7965 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.728e-05/0.3105, allocations: 86.75 kB / 0.7966 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.3107, allocations: 73.59 kB / 0.7966 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3108, allocations: 334.8 kB / 0.797 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/0.3111, allocations: 151.9 kB / 0.7971 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002783/0.3114, allocations: 241.5 kB / 0.7973 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005099/0.3119, allocations: 406.8 kB / 0.7977 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3119, allocations: 0 / 0.7977 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001067/0.313, allocations: 0.5973 MB / 0.7983 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.313, allocations: 4 kB / 0.7983 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.313, allocations: 4.312 kB / 0.7983 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006599/0.3137, allocations: 192.6 kB / 0.7985 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.314, allocations: 63.89 kB / 0.7986 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002899/0.3169, allocations: 2.488 MB / 0.801 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.3172, allocations: 15.98 kB / 0.801 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/0.3173, allocations: 12 kB / 0.801 GB, free: 10.6 MB / 0.6231 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.0001931/0.3175, allocations: 168.7 kB / 0.8012 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/0.3175, allocations: 27.66 kB / 0.8012 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005505/0.3181, allocations: 351.5 kB / 0.8015 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3181, allocations: 4 kB / 0.8015 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.3181, allocations: 0 / 0.8015 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3181, allocations: 3.984 kB / 0.8015 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.3193, allocations: 0.816 MB / 0.8023 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3193, allocations: 8.062 kB / 0.8023 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003966/0.3197, allocations: 79.88 kB / 0.8024 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3197, allocations: 4 kB / 0.8024 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.3198, allocations: 0 / 0.8024 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3198, allocations: 4 kB / 0.8024 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3198, allocations: 0 / 0.8024 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00076/0.3205, allocations: 0.6158 MB / 0.803 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.3207, allocations: 132.8 kB / 0.8032 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.274e-05/0.3207, allocations: 8 kB / 0.8032 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.3209, allocations: 11.98 kB / 0.8032 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.321, allocations: 15.92 kB / 0.8032 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.321, allocations: 8 kB / 0.8032 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001948/0.3212, allocations: 180.5 kB / 0.8034 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3212, allocations: 0 / 0.8034 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004274/0.3217, allocations: 92 kB / 0.8035 GB, free: 7.992 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000213/0.3219, allocations: 111.2 kB / 0.8036 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.323, allocations: 0.565 MB / 0.8041 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.323, allocations: 8.188 kB / 0.8041 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.3232, allocations: 147.9 kB / 0.8043 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.3237, allocations: 49.34 kB / 0.8043 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.3253, allocations: 0.9423 MB / 0.8052 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.3258, allocations: 0.7912 MB / 0.806 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002076/0.326, allocations: 74.91 kB / 0.8061 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.02e-05/0.3261, allocations: 23.44 kB / 0.8061 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of SimCode: time 3.51e-07/0.3261, allocations: 0 / 0.8061 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of Templates: time 0.008479/0.3345, allocations: 3.992 MB / 0.81 GB, free: 1.23 MB / 0.6231 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)