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.473/1.473, allocations: 252 MB / 267 MB, free: 10.99 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.0009105/0.0009105, allocations: 176.4 kB / 326.6 MB, free: 2.242 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.805/1.805, allocations: 205.4 MB / 0.5777 GB, free: 20.5 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.0007666/0.0007666, allocations: 98.36 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003454, allocations: 10.59 kB / 0.7965 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2612, allocations: 106.3 MB / 0.9003 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003877/0.2652, allocations: 2.832 MB / 0.9031 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003136/0.2683, allocations: 1.739 MB / 0.9048 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002902/0.2687, allocations: 7.938 kB / 0.9048 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002731/0.269, allocations: 39.64 kB / 0.9048 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006711/0.2697, allocations: 179.2 kB / 0.905 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008455/0.2705, allocations: 218.4 kB / 0.9052 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005884/0.2711, allocations: 470.6 kB / 0.9057 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008141/0.2719, allocations: 437.2 kB / 0.9061 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002939/0.2722, allocations: 135.5 kB / 0.9062 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004395/0.2727, allocations: 187.3 kB / 0.9064 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.799e-05/0.2728, allocations: 12 kB / 0.9064 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003741/0.2731, allocations: 135.8 kB / 0.9065 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.2733, allocations: 107.7 kB / 0.9066 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.32e-05/0.2734, allocations: 73.58 kB / 0.9067 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000469/0.2739, allocations: 355.4 kB / 0.907 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2739, allocations: 0 / 0.907 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2739, allocations: 0 / 0.907 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.2739, allocations: 0 / 0.907 GB, free: 57.24 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.001117/0.275, allocations: 0.5379 MB / 0.9076 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.2751, allocations: 8.031 kB / 0.9076 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/0.2752, allocations: 70.5 kB / 0.9076 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008138/0.276, allocations: 95.48 kB / 0.9077 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.2764, allocations: 271.3 kB / 0.908 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.2765, allocations: 16.56 kB / 0.908 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.2766, allocations: 35.89 kB / 0.908 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006313/0.2772, allocations: 441.1 kB / 0.9085 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.2773, allocations: 0 / 0.9085 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/0.2773, allocations: 8 kB / 0.9085 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001453/0.2775, allocations: 44.48 kB / 0.9085 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000526/0.278, allocations: 349.9 kB / 0.9088 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002271/0.2803, allocations: 2.203 MB / 0.911 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003971/0.2807, allocations: 270.9 kB / 0.9112 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.2809, allocations: 165.2 kB / 0.9114 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.2809, allocations: 192 / 0.9114 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.281, allocations: 38.75 kB / 0.9114 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.281, allocations: 0 / 0.9114 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.001698/0.2827, allocations: 1.045 MB / 0.9125 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.2827, allocations: 63.33 kB / 0.9125 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.283, allocations: 245 kB / 0.9128 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.283, allocations: 29.7 kB / 0.9128 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.449e-05/0.2831, allocations: 191.8 kB / 0.913 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.665e-05/0.2832, allocations: 86.8 kB / 0.913 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.715e-05/0.2832, allocations: 4 kB / 0.9131 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.19e-05/0.2833, allocations: 334.8 kB / 0.9134 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.2835, allocations: 151.9 kB / 0.9135 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/0.2838, allocations: 233.6 kB / 0.9137 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.2841, allocations: 185.3 kB / 0.9139 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2841, allocations: 0 / 0.9139 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001064/0.2851, allocations: 0.5888 MB / 0.9145 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.2852, allocations: 8 kB / 0.9145 GB, free: 49.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.2852, allocations: 0 / 0.9145 GB, free: 49.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007077/0.2859, allocations: 192.8 kB / 0.9147 GB, free: 48.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.2862, allocations: 59.89 kB / 0.9147 GB, free: 48.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.2887, allocations: 2.3 MB / 0.917 GB, free: 46.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.289, allocations: 16.05 kB / 0.917 GB, free: 46.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/0.2891, allocations: 20 kB / 0.917 GB, free: 46.36 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000221/0.2893, allocations: 165.6 kB / 0.9172 GB, free: 46.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.584e-05/0.2894, allocations: 23.72 kB / 0.9172 GB, free: 46.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000517/0.2899, allocations: 358.9 kB / 0.9175 GB, free: 45.81 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2899, allocations: 0 / 0.9175 GB, free: 45.81 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.2899, allocations: 112 / 0.9175 GB, free: 45.81 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.2899, allocations: 7.922 kB / 0.9176 GB, free: 45.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009343/0.2909, allocations: 0.8114 MB / 0.9183 GB, free: 44.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.2909, allocations: 4 kB / 0.9183 GB, free: 44.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003864/0.2913, allocations: 71.88 kB / 0.9184 GB, free: 44.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.2913, allocations: 4 kB / 0.9184 GB, free: 44.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.2913, allocations: 4 kB / 0.9184 GB, free: 44.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.2913, allocations: 4 kB / 0.9184 GB, free: 44.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2914, allocations: 0 / 0.9184 GB, free: 44.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006547/0.292, allocations: 0.6148 MB / 0.919 GB, free: 44.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.2921, allocations: 128.9 kB / 0.9191 GB, free: 44.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.2922, allocations: 8 kB / 0.9192 GB, free: 44.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.2924, allocations: 12.02 kB / 0.9192 GB, free: 44.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.2925, allocations: 19.97 kB / 0.9192 GB, free: 44.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.2925, allocations: 8 kB / 0.9192 GB, free: 44.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001557/0.2926, allocations: 184.5 kB / 0.9194 GB, free: 43.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2926, allocations: 0 / 0.9194 GB, free: 43.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004052/0.2931, allocations: 84 kB / 0.9195 GB, free: 43.76 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009723/0.294, allocations: 1.173 MB / 0.9206 GB, free: 42.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008712/0.2949, allocations: 0.5278 MB / 0.9211 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2949, allocations: 0.625 kB / 0.9211 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.2951, allocations: 155.8 kB / 0.9213 GB, free: 41.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004884/0.2956, allocations: 43.78 kB / 0.9213 GB, free: 41.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/0.2989, allocations: 2.264 MB / 0.9235 GB, free: 39.47 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.2992, allocations: 0.7873 MB / 0.9243 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002706/0.2995, allocations: 78.89 kB / 0.9244 GB, free: 38.58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.2997, allocations: 87.41 kB / 0.9244 GB, free: 38.5 MB / 0.6042 GB Notification: Performance of SimCode: time 1.533e-06/0.2997, allocations: 4 kB / 0.9244 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.3193, allocations: 6.299 MB / 0.9306 GB, free: 32.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/0.3196, allocations: 227.3 kB / 0.9308 GB, free: 32.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.073/2.392, allocations: 0 / 0.9308 GB, free: 32.17 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)