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.507/1.507, allocations: 251.9 MB / 266.9 MB, free: 10.98 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.001097/0.001097, allocations: 175.9 kB / 326.5 MB, free: 2.23 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.575/1.575, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0007979/0.0007976, allocations: 100.3 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003114/0.0003115, allocations: 9.375 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.19, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.0028/0.1929, allocations: 2.774 MB / 0.9029 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002067/0.195, allocations: 1.727 MB / 0.9045 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.1951, allocations: 7.938 kB / 0.9046 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.1953, allocations: 35.77 kB / 0.9046 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.1956, allocations: 143.5 kB / 0.9047 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005058/0.1961, allocations: 229.8 kB / 0.9049 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.1964, allocations: 239.5 kB / 0.9052 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005423/0.1969, allocations: 441.2 kB / 0.9056 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.1971, allocations: 107.7 kB / 0.9057 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/0.1973, allocations: 139.5 kB / 0.9058 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.1973, allocations: 16 kB / 0.9058 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002119/0.1976, allocations: 127.8 kB / 0.906 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.452e-05/0.1976, allocations: 95.77 kB / 0.9061 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.1977, allocations: 77.52 kB / 0.9061 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.198, allocations: 355.4 kB / 0.9065 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.198, allocations: 0 / 0.9065 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.393e-06/0.198, allocations: 0 / 0.9065 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.198, allocations: 0 / 0.9065 GB, free: 57.31 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.0008001/0.1988, allocations: 0.534 MB / 0.907 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1989, allocations: 8.031 kB / 0.907 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.044e-05/0.1989, allocations: 62.52 kB / 0.9071 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006934/0.1996, allocations: 111.5 kB / 0.9072 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.2, allocations: 267.3 kB / 0.9074 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.2, allocations: 16.56 kB / 0.9074 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.2001, allocations: 43.88 kB / 0.9075 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005361/0.2007, allocations: 437.1 kB / 0.9079 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.2007, allocations: 4 kB / 0.9079 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.65e-05/0.2007, allocations: 12 kB / 0.9079 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000158/0.2009, allocations: 40.48 kB / 0.9079 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005037/0.2014, allocations: 345.9 kB / 0.9083 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002146/0.2036, allocations: 2.215 MB / 0.9104 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004567/0.204, allocations: 266.9 kB / 0.9107 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.2041, allocations: 192 / 0.9107 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.2041, allocations: 34.75 kB / 0.9107 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 1.372e-06/0.2041, allocations: 0 / 0.9107 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.00151/0.2056, allocations: 1.055 MB / 0.9118 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.044e-05/0.2057, allocations: 51.41 kB / 0.9118 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.2059, allocations: 245 kB / 0.912 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.2059, allocations: 33.7 kB / 0.9121 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.739e-05/0.206, allocations: 183.9 kB / 0.9122 GB, free: 50.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.206, allocations: 98.73 kB / 0.9123 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.653e-05/0.206, allocations: 4 kB / 0.9123 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.859e-05/0.2061, allocations: 334.8 kB / 0.9127 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.2063, allocations: 147.9 kB / 0.9128 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.2065, allocations: 237.6 kB / 0.913 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.2067, allocations: 181.3 kB / 0.9132 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2067, allocations: 0 / 0.9132 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008687/0.2076, allocations: 0.5887 MB / 0.9138 GB, free: 49.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.2076, allocations: 4 kB / 0.9138 GB, free: 49.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2076, allocations: 4 kB / 0.9138 GB, free: 49.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006113/0.2083, allocations: 192.9 kB / 0.914 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.2085, allocations: 63.89 kB / 0.914 GB, free: 49.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/0.2107, allocations: 2.358 MB / 0.9163 GB, free: 46.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.2109, allocations: 15.98 kB / 0.9164 GB, free: 46.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.211, allocations: 19.98 kB / 0.9164 GB, free: 46.53 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.0001404/0.2111, allocations: 171.8 kB / 0.9165 GB, free: 46.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.2112, allocations: 23.83 kB / 0.9166 GB, free: 46.33 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000436/0.2116, allocations: 359.4 kB / 0.9169 GB, free: 45.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.2116, allocations: 0 / 0.9169 GB, free: 45.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.2116, allocations: 4 kB / 0.9169 GB, free: 45.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2116, allocations: 0 / 0.9169 GB, free: 45.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000864/0.2125, allocations: 0.8083 MB / 0.9177 GB, free: 45.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2125, allocations: 4.062 kB / 0.9177 GB, free: 45.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003648/0.2129, allocations: 79.88 kB / 0.9178 GB, free: 45.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.2129, allocations: 4 kB / 0.9178 GB, free: 45.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.2129, allocations: 8 kB / 0.9178 GB, free: 45.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2129, allocations: 0 / 0.9178 GB, free: 45.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.213, allocations: 0 / 0.9178 GB, free: 45.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005758/0.2135, allocations: 0.6434 MB / 0.9184 GB, free: 44.33 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.2137, allocations: 124.9 kB / 0.9185 GB, free: 44.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.2137, allocations: 7.984 kB / 0.9185 GB, free: 44.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.2139, allocations: 8 kB / 0.9185 GB, free: 44.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.2139, allocations: 23.92 kB / 0.9186 GB, free: 44.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.214, allocations: 4 kB / 0.9186 GB, free: 44.15 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000128/0.2141, allocations: 180.5 kB / 0.9187 GB, free: 43.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2141, allocations: 4 kB / 0.9188 GB, free: 43.97 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003799/0.2145, allocations: 84 kB / 0.9188 GB, free: 43.89 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.0007841/0.2153, allocations: 1.322 MB / 0.9201 GB, free: 42.53 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007534/0.216, allocations: 0.5285 MB / 0.9206 GB, free: 41.99 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2161, allocations: 4.562 kB / 0.9206 GB, free: 41.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.2162, allocations: 151.9 kB / 0.9208 GB, free: 41.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.2166, allocations: 47.78 kB / 0.9208 GB, free: 41.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.2195, allocations: 3.766 MB / 0.9245 GB, free: 37.92 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.2198, allocations: 0.8029 MB / 0.9253 GB, free: 37.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001876/0.2199, allocations: 74.91 kB / 0.9254 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.2201, allocations: 79.41 kB / 0.9254 GB, free: 36.94 MB / 0.6042 GB Notification: Performance of SimCode: time 2.9e-07/0.2201, allocations: 4 kB / 0.9254 GB, free: 36.94 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01575/0.2358, allocations: 6.263 MB / 0.9316 GB, free: 30.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001475/0.236, allocations: 219.6 kB / 0.9318 GB, free: 30.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/2.058, allocations: 2.031 kB / 0.9318 GB, free: 30.65 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)