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.001132/0.001132, allocations: 105.6 kB / 15.98 MB, free: 6.34 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.001211/0.001211, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.357/1.357, allocations: 205.1 MB / 222.8 MB, free: 4.684 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.672/1.672, allocations: 292.3 MB / 0.5492 GB, free: 13.6 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.001364/0.001365, allocations: 68.27 kB / 0.6717 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2231, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004546/0.2277, allocations: 3.295 MB / 0.7867 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002797/0.2306, allocations: 1.848 MB / 0.7886 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/0.2308, allocations: 7.938 kB / 0.7886 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009769/0.2318, allocations: 278.3 kB / 0.7888 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004947/0.2323, allocations: 191.2 kB / 0.789 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007049/0.233, allocations: 279.3 kB / 0.7893 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004434/0.2335, allocations: 402.7 kB / 0.7897 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004217/0.2339, allocations: 224.5 kB / 0.7899 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.2341, allocations: 167.4 kB / 0.79 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003435/0.2345, allocations: 199.3 kB / 0.7902 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.921e-05/0.2345, allocations: 24 kB / 0.7902 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004047/0.2349, allocations: 239.5 kB / 0.7905 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.2351, allocations: 119.7 kB / 0.7906 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.2352, allocations: 151.2 kB / 0.7907 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004321/0.2357, allocations: 367.1 kB / 0.7911 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2357, allocations: 4 kB / 0.7911 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2357, allocations: 0 / 0.7911 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.2357, allocations: 0 / 0.7911 GB, free: 6.117 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.001081/0.2368, allocations: 0.5887 MB / 0.7917 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.2368, allocations: 8.031 kB / 0.7917 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00074/0.2376, allocations: 92.47 kB / 0.7918 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.2379, allocations: 284.3 kB / 0.792 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.2379, allocations: 16.94 kB / 0.792 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.2381, allocations: 36.72 kB / 0.7921 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006204/0.2387, allocations: 453 kB / 0.7925 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.2387, allocations: 3.984 kB / 0.7925 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.841e-05/0.2388, allocations: 11.98 kB / 0.7925 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001448/0.2389, allocations: 40.53 kB / 0.7926 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005223/0.2394, allocations: 345.9 kB / 0.7929 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002337/0.2418, allocations: 2.203 MB / 0.795 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/0.2422, allocations: 266.4 kB / 0.7953 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.2424, allocations: 164.8 kB / 0.7955 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.2425, allocations: 4 kB / 0.7955 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.2425, allocations: 38.48 kB / 0.7955 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 2.124e-06/0.2425, allocations: 0 / 0.7955 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.001763/0.2443, allocations: 1.057 MB / 0.7965 GB, free: 128 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.2443, allocations: 55.41 kB / 0.7966 GB, free: 60 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.2446, allocations: 252.8 kB / 0.7968 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.2446, allocations: 29.7 kB / 0.7968 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.2448, allocations: 192 kB / 0.797 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.143e-05/0.2448, allocations: 86.75 kB / 0.7971 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.2449, allocations: 73.59 kB / 0.7972 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.2451, allocations: 338.8 kB / 0.7975 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.2453, allocations: 151.9 kB / 0.7977 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/0.2456, allocations: 241.5 kB / 0.7979 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004812/0.246, allocations: 402.8 kB / 0.7983 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2461, allocations: 3.938 kB / 0.7983 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001081/0.2471, allocations: 0.5897 MB / 0.7988 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.2472, allocations: 7.984 kB / 0.7989 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.2472, allocations: 4 kB / 0.7989 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007436/0.2479, allocations: 184.9 kB / 0.799 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.2482, allocations: 63.89 kB / 0.7991 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002866/0.2511, allocations: 2.492 MB / 0.8015 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003423/0.2515, allocations: 15.98 kB / 0.8015 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.2515, allocations: 16 kB / 0.8016 GB, free: 10.7 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.0001761/0.2517, allocations: 165.7 kB / 0.8017 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/0.2518, allocations: 23.66 kB / 0.8017 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005387/0.2523, allocations: 351.5 kB / 0.8021 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.2523, allocations: 4 kB / 0.8021 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-06/0.2524, allocations: 4.062 kB / 0.8021 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2524, allocations: 11.92 kB / 0.8021 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.2534, allocations: 0.8121 MB / 0.8029 GB, free: 9.266 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2534, allocations: 3.938 kB / 0.8029 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004128/0.2538, allocations: 71.89 kB / 0.803 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.074e-06/0.2538, allocations: 3.984 kB / 0.803 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.2539, allocations: 8 kB / 0.803 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.2539, allocations: 4 kB / 0.803 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2539, allocations: 4.062 kB / 0.803 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007273/0.2546, allocations: 0.6119 MB / 0.8036 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.2548, allocations: 132.8 kB / 0.8037 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.692e-05/0.2548, allocations: 8 kB / 0.8037 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.255, allocations: 7.984 kB / 0.8037 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.2551, allocations: 23.92 kB / 0.8037 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.2551, allocations: 4 kB / 0.8037 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001738/0.2553, allocations: 184.5 kB / 0.8039 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2553, allocations: 0 / 0.8039 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004281/0.2557, allocations: 84 kB / 0.804 GB, free: 8.094 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.0001639/0.2559, allocations: 115.1 kB / 0.8041 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009444/0.2569, allocations: 0.5685 MB / 0.8047 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2569, allocations: 0 / 0.8047 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.2571, allocations: 147.9 kB / 0.8048 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.2576, allocations: 64.16 kB / 0.8049 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.2592, allocations: 0.9788 MB / 0.8058 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.2596, allocations: 0.7912 MB / 0.8066 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.2598, allocations: 27.42 kB / 0.8066 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of SimCode: time 5.1e-07/0.2598, allocations: 0 / 0.8066 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of Templates: time 0.007064/0.2668, allocations: 4.427 MB / 0.8109 GB, free: 0.8945 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)