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.351/1.351, allocations: 251.5 MB / 266.7 MB, free: 11.03 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.0009352/0.0009352, allocations: 182.7 kB / 325.8 MB, free: 2.688 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.391/1.391, allocations: 205 MB / 0.576 GB, free: 21.03 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.0006694/0.0006693, allocations: 99.66 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002936/0.0002936, allocations: 8.688 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1471, allocations: 105.4 MB / 0.8962 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.002583/0.1498, allocations: 2.973 MB / 0.8991 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001917/0.1517, allocations: 1.886 MB / 0.901 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.89e-05/0.1518, allocations: 4 kB / 0.901 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000769/0.1526, allocations: 263 kB / 0.9012 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.1529, allocations: 207.2 kB / 0.9014 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000496/0.1534, allocations: 257.4 kB / 0.9017 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003767/0.1538, allocations: 0.5649 MB / 0.9022 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003204/0.1541, allocations: 200.8 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.1543, allocations: 143.4 kB / 0.9025 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.1546, allocations: 191.3 kB / 0.9027 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.427e-05/0.1546, allocations: 12 kB / 0.9027 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003305/0.155, allocations: 279.4 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.148e-05/0.1551, allocations: 111.7 kB / 0.9031 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.1552, allocations: 131.3 kB / 0.9032 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.1556, allocations: 462.4 kB / 0.9037 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1556, allocations: 3.938 kB / 0.9037 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1556, allocations: 0 / 0.9037 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.1556, allocations: 0 / 0.9037 GB, free: 60.35 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.0008171/0.1564, allocations: 0.5381 MB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1565, allocations: 8.031 kB / 0.9042 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.516e-05/0.1565, allocations: 66.72 kB / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007426/0.1573, allocations: 92.45 kB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.1575, allocations: 272.5 kB / 0.9046 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.1576, allocations: 20.92 kB / 0.9046 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.1577, allocations: 40.22 kB / 0.9047 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000517/0.1582, allocations: 445.1 kB / 0.9051 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.1582, allocations: 0 / 0.9051 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.1583, allocations: 12 kB / 0.9051 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000135/0.1584, allocations: 44.53 kB / 0.9052 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004618/0.1589, allocations: 353.9 kB / 0.9055 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001855/0.1607, allocations: 2.199 MB / 0.9076 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/0.1611, allocations: 278.3 kB / 0.9079 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.1613, allocations: 156.8 kB / 0.9081 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.1613, allocations: 8 kB / 0.9081 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.1614, allocations: 38.94 kB / 0.9081 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.1614, allocations: 3.938 kB / 0.9081 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.001514/0.1629, allocations: 1.047 MB / 0.9091 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.805e-05/0.1629, allocations: 59.39 kB / 0.9092 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.1631, allocations: 245 kB / 0.9094 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1631, allocations: 29.7 kB / 0.9094 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.512e-05/0.1632, allocations: 188 kB / 0.9096 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.1633, allocations: 86.75 kB / 0.9097 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.748e-05/0.1633, allocations: 37.7 kB / 0.9097 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.376e-05/0.1634, allocations: 330.8 kB / 0.9101 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.1636, allocations: 159.8 kB / 0.9102 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.1638, allocations: 229.6 kB / 0.9104 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000458/0.1643, allocations: 414.8 kB / 0.9108 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1643, allocations: 0 / 0.9108 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009908/0.1653, allocations: 0.581 MB / 0.9114 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.1653, allocations: 12 kB / 0.9114 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1653, allocations: 0 / 0.9114 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000562/0.1659, allocations: 192.6 kB / 0.9116 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.1661, allocations: 59.89 kB / 0.9116 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/0.168, allocations: 2.303 MB / 0.9139 GB, free: 49.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.1682, allocations: 20.09 kB / 0.9139 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.1683, allocations: 15.94 kB / 0.9139 GB, free: 49.16 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.0001122/0.1684, allocations: 169.8 kB / 0.9141 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.1684, allocations: 27.66 kB / 0.9141 GB, free: 48.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003929/0.1688, allocations: 355.5 kB / 0.9145 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1689, allocations: 0 / 0.9145 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.1689, allocations: 7.984 kB / 0.9145 GB, free: 48.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1689, allocations: 0 / 0.9145 GB, free: 48.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007172/0.1696, allocations: 0.8157 MB / 0.9153 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1696, allocations: 0 / 0.9153 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003364/0.1699, allocations: 75.88 kB / 0.9153 GB, free: 47.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.17, allocations: 0 / 0.9153 GB, free: 47.65 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.17, allocations: 8 kB / 0.9153 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.17, allocations: 0 / 0.9153 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.17, allocations: 4 kB / 0.9153 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005153/0.1705, allocations: 0.6186 MB / 0.9159 GB, free: 47 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.594e-05/0.1706, allocations: 128.9 kB / 0.9161 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.1706, allocations: 3.906 kB / 0.9161 GB, free: 46.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.1708, allocations: 19.92 kB / 0.9161 GB, free: 46.83 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.1709, allocations: 15.98 kB / 0.9161 GB, free: 46.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.1709, allocations: 4 kB / 0.9161 GB, free: 46.81 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001091/0.171, allocations: 192.4 kB / 0.9163 GB, free: 46.63 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.171, allocations: 0 / 0.9163 GB, free: 46.63 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003142/0.1713, allocations: 84 kB / 0.9164 GB, free: 46.55 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.0007682/0.1721, allocations: 1.156 MB / 0.9175 GB, free: 45.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006544/0.1728, allocations: 0.5295 MB / 0.918 GB, free: 44.82 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1728, allocations: 3.938 kB / 0.918 GB, free: 44.81 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.1729, allocations: 148.5 kB / 0.9182 GB, free: 44.67 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.1733, allocations: 52.53 kB / 0.9182 GB, free: 44.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003557/0.1769, allocations: 3.751 MB / 0.9219 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.1771, allocations: 0.799 MB / 0.9227 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001773/0.1773, allocations: 78.89 kB / 0.9227 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.1774, allocations: 79.41 kB / 0.9228 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.1774, allocations: 0 / 0.9228 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2195/0.3969, allocations: 6.303 MB / 0.929 GB, free: 33.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001292/0.3971, allocations: 246.3 kB / 0.9292 GB, free: 33.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/2.15, allocations: 0 / 0.9292 GB, free: 33.38 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)