Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.481/1.481, allocations: 252 MB / 267.3 MB, free: 10.81 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 179.9 kB / 327 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.4 MB / 0.578 GB, free: 20.08 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008205/0.0008204, allocations: 87.34 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003814, allocations: 12.73 kB / 0.7971 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2642, allocations: 106.3 MB / 0.9009 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003901/0.2682, allocations: 2.94 MB / 0.9038 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003118/0.2713, allocations: 1.847 MB / 0.9056 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003133/0.2717, allocations: 4 kB / 0.9056 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.272, allocations: 39.64 kB / 0.9056 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007849/0.2728, allocations: 207.2 kB / 0.9058 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.2739, allocations: 255.5 kB / 0.9061 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000823/0.2747, allocations: 0.5726 MB / 0.9066 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.2758, allocations: 457 kB / 0.9071 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003981/0.2762, allocations: 139.5 kB / 0.9072 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005134/0.2767, allocations: 191.3 kB / 0.9074 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.076e-05/0.2768, allocations: 12 kB / 0.9074 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006798/0.2775, allocations: 283.4 kB / 0.9077 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.2777, allocations: 99.75 kB / 0.9078 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.2779, allocations: 157 kB / 0.9079 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006615/0.2785, allocations: 474.7 kB / 0.9084 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2786, allocations: 4 kB / 0.9084 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2786, allocations: 0 / 0.9084 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.2786, allocations: 4 kB / 0.9084 GB, free: 55.54 MB / 0.6042 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.001156/0.2798, allocations: 0.5264 MB / 0.9089 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.2798, allocations: 8.031 kB / 0.9089 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.403e-05/0.2799, allocations: 70.7 kB / 0.909 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007875/0.2807, allocations: 92.47 kB / 0.9091 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.2811, allocations: 280.4 kB / 0.9093 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.2811, allocations: 16.94 kB / 0.9093 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.2813, allocations: 44.2 kB / 0.9094 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006502/0.2819, allocations: 437.1 kB / 0.9098 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.282, allocations: 8 kB / 0.9098 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.789e-05/0.282, allocations: 4 kB / 0.9098 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001583/0.2822, allocations: 44.52 kB / 0.9099 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005233/0.2827, allocations: 349.9 kB / 0.9102 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/0.2849, allocations: 2.206 MB / 0.9123 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.2854, allocations: 274.4 kB / 0.9126 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.2856, allocations: 164.8 kB / 0.9128 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.2856, allocations: 0 / 0.9128 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.2857, allocations: 34.94 kB / 0.9128 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 1.373e-06/0.2857, allocations: 0 / 0.9128 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.001845/0.2875, allocations: 1.058 MB / 0.9138 GB, free: 49.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.2876, allocations: 59.39 kB / 0.9139 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.2878, allocations: 241 kB / 0.9141 GB, free: 49.22 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.2879, allocations: 33.7 kB / 0.9141 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.288, allocations: 183.9 kB / 0.9143 GB, free: 49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.189e-05/0.2881, allocations: 90.73 kB / 0.9144 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.2881, allocations: 16 kB / 0.9144 GB, free: 48.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2882, allocations: 330.8 kB / 0.9147 GB, free: 48.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.2885, allocations: 151.9 kB / 0.9149 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.2887, allocations: 233.6 kB / 0.9151 GB, free: 48.15 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004968/0.2892, allocations: 410.8 kB / 0.9155 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2892, allocations: 0 / 0.9155 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001003/0.2903, allocations: 0.5886 MB / 0.9161 GB, free: 47.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.2903, allocations: 8 kB / 0.9161 GB, free: 47.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.2903, allocations: 0 / 0.9161 GB, free: 47.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006473/0.2909, allocations: 192.7 kB / 0.9163 GB, free: 46.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.2912, allocations: 63.89 kB / 0.9163 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/0.2936, allocations: 2.296 MB / 0.9186 GB, free: 44.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.2939, allocations: 20.05 kB / 0.9186 GB, free: 44.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.2939, allocations: 12 kB / 0.9186 GB, free: 44.39 MB / 0.6042 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.0001626/0.2941, allocations: 169.7 kB / 0.9188 GB, free: 44.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-05/0.2942, allocations: 27.66 kB / 0.9188 GB, free: 44.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000496/0.2947, allocations: 355.5 kB / 0.9191 GB, free: 43.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2947, allocations: 4 kB / 0.9191 GB, free: 43.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2947, allocations: 112 / 0.9191 GB, free: 43.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.2947, allocations: 15.86 kB / 0.9191 GB, free: 43.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009529/0.2957, allocations: 0.8083 MB / 0.9199 GB, free: 42.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2957, allocations: 0 / 0.9199 GB, free: 42.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004053/0.2961, allocations: 75.88 kB / 0.92 GB, free: 42.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/0.2961, allocations: 4 kB / 0.92 GB, free: 42.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/0.2962, allocations: 8 kB / 0.92 GB, free: 42.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.2962, allocations: 0 / 0.92 GB, free: 42.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2962, allocations: 64 / 0.92 GB, free: 42.87 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007786/0.297, allocations: 0.6219 MB / 0.9206 GB, free: 42.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.2972, allocations: 124.8 kB / 0.9207 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.212e-05/0.2972, allocations: 8 kB / 0.9207 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.2975, allocations: 19.98 kB / 0.9208 GB, free: 42.06 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.2975, allocations: 11.92 kB / 0.9208 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.2976, allocations: 16 kB / 0.9208 GB, free: 42.03 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000174/0.2977, allocations: 184.4 kB / 0.921 GB, free: 41.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2978, allocations: 0 / 0.921 GB, free: 41.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004479/0.2982, allocations: 92 kB / 0.9211 GB, free: 41.77 MB / 0.6042 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.0009585/0.2992, allocations: 1.154 MB / 0.9222 GB, free: 40.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009409/0.3001, allocations: 0.5261 MB / 0.9227 GB, free: 40.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.3002, allocations: 0 / 0.9227 GB, free: 40.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.3003, allocations: 155.9 kB / 0.9228 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005322/0.3009, allocations: 48.41 kB / 0.9229 GB, free: 39.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004961/0.3059, allocations: 3.842 MB / 0.9266 GB, free: 35.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.3062, allocations: 0.7912 MB / 0.9274 GB, free: 35.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002386/0.3064, allocations: 82.89 kB / 0.9275 GB, free: 34.94 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.3066, allocations: 84.66 kB / 0.9276 GB, free: 34.86 MB / 0.6042 GB Notification: Performance of SimCode: time 9.32e-07/0.3066, allocations: 0 / 0.9276 GB, free: 34.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.3255, allocations: 6.292 MB / 0.9337 GB, free: 28.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/0.3257, allocations: 246.6 kB / 0.934 GB, free: 28.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.348/2.674, allocations: 7.938 kB / 0.934 GB, free: 28.52 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)