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.385/1.385, allocations: 251.9 MB / 266.8 MB, free: 11 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.001021/0.001021, allocations: 176.2 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.89/1.89, allocations: 205.4 MB / 0.5775 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.0009718/0.0009714, allocations: 98.52 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.0003466, allocations: 8.844 kB / 0.7963 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.256, allocations: 106.3 MB / 0.9002 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8021/1.058, allocations: 162 MB / 1.058 GB, free: 63.38 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/1.058, allocations: 100.5 kB / 1.058 GB, free: 63.38 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04989/1.108, allocations: 19.36 MB / 1.077 GB, free: 61.63 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.735e-06/1.108, allocations: 1.781 kB / 1.077 GB, free: 61.63 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.207e-05/1.108, allocations: 9.5 kB / 1.077 GB, free: 61.63 MB / 0.698 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.001051/1.11, allocations: 0.5762 MB / 1.078 GB, free: 61.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/1.11, allocations: 8.75 kB / 1.078 GB, free: 61.16 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.893e-05/1.11, allocations: 68.22 kB / 1.078 GB, free: 61.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008913/1.111, allocations: 101.8 kB / 1.078 GB, free: 61.11 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004869/1.111, allocations: 289.3 kB / 1.078 GB, free: 60.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/1.111, allocations: 22.06 kB / 1.078 GB, free: 60.88 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.756e-05/1.111, allocations: 27.17 kB / 1.078 GB, free: 60.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007456/1.112, allocations: 432 kB / 1.079 GB, free: 60.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/1.112, allocations: 1.219 kB / 1.079 GB, free: 60.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.977e-05/1.112, allocations: 11 kB / 1.079 GB, free: 60.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.023e-05/1.112, allocations: 35.14 kB / 1.079 GB, free: 60.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005836/1.113, allocations: 344.8 kB / 1.079 GB, free: 60.74 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002663/1.115, allocations: 2.208 MB / 1.081 GB, free: 59.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004889/1.116, allocations: 265.6 kB / 1.082 GB, free: 59.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/1.116, allocations: 4.719 kB / 1.082 GB, free: 59.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/1.116, allocations: 40.94 kB / 1.082 GB, free: 59.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 1.823e-06/1.116, allocations: 0 / 1.082 GB, free: 59.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.001836/1.118, allocations: 1.055 MB / 1.083 GB, free: 58.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/1.118, allocations: 57.06 kB / 1.083 GB, free: 58.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/1.118, allocations: 222 kB / 1.083 GB, free: 58.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/1.118, allocations: 35.08 kB / 1.083 GB, free: 58.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.078e-05/1.118, allocations: 184.8 kB / 1.083 GB, free: 58.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.066e-05/1.118, allocations: 91.09 kB / 1.083 GB, free: 58.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.801e-05/1.118, allocations: 4.844 kB / 1.083 GB, free: 58.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.675e-05/1.118, allocations: 338.5 kB / 1.084 GB, free: 57.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/1.119, allocations: 148.9 kB / 1.084 GB, free: 57.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/1.119, allocations: 231.9 kB / 1.084 GB, free: 57.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/1.119, allocations: 184.8 kB / 1.084 GB, free: 57.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.119, allocations: 1.406 kB / 1.084 GB, free: 57.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00112/1.12, allocations: 0.5757 MB / 1.085 GB, free: 57.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/1.12, allocations: 6.594 kB / 1.085 GB, free: 57.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.12, allocations: 1.5 kB / 1.085 GB, free: 57.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000631/1.121, allocations: 195 kB / 1.085 GB, free: 57.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/1.121, allocations: 57.03 kB / 1.085 GB, free: 57.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/1.124, allocations: 2.337 MB / 1.087 GB, free: 56.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003392/1.124, allocations: 24.91 kB / 1.087 GB, free: 56.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/1.124, allocations: 11.83 kB / 1.087 GB, free: 56.45 MB / 0.698 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.0001989/1.124, allocations: 166.5 kB / 1.087 GB, free: 56.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/1.124, allocations: 19.56 kB / 1.087 GB, free: 56.32 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005045/1.125, allocations: 363.5 kB / 1.088 GB, free: 56.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/1.125, allocations: 7.922 kB / 1.088 GB, free: 56.26 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/1.125, allocations: 2.484 kB / 1.088 GB, free: 56.26 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/1.125, allocations: 4 kB / 1.088 GB, free: 56.26 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009956/1.126, allocations: 0.7933 MB / 1.089 GB, free: 55.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.126, allocations: 3.938 kB / 1.089 GB, free: 55.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003817/1.126, allocations: 82.14 kB / 1.089 GB, free: 55.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/1.126, allocations: 3.906 kB / 1.089 GB, free: 55.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/1.126, allocations: 1.969 kB / 1.089 GB, free: 55.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/1.126, allocations: 3.906 kB / 1.089 GB, free: 55.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/1.126, allocations: 4.062 kB / 1.089 GB, free: 55.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006737/1.127, allocations: 0.6364 MB / 1.089 GB, free: 55.72 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/1.127, allocations: 127.3 kB / 1.089 GB, free: 55.62 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/1.127, allocations: 14.12 kB / 1.089 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/1.127, allocations: 13.23 kB / 1.089 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/1.127, allocations: 13.48 kB / 1.089 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/1.127, allocations: 11.31 kB / 1.089 GB, free: 55.61 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001418/1.127, allocations: 174.6 kB / 1.09 GB, free: 55.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.31e-07/1.127, allocations: 0 / 1.09 GB, free: 55.54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000451/1.128, allocations: 100.8 kB / 1.09 GB, free: 55.53 MB / 0.698 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.0009118/1.129, allocations: 1.337 MB / 1.091 GB, free: 54.65 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000895/1.13, allocations: 0.5322 MB / 1.092 GB, free: 54.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.13, allocations: 0 / 1.092 GB, free: 54.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001742/1.13, allocations: 147.3 kB / 1.092 GB, free: 54.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/1.13, allocations: 53.67 kB / 1.092 GB, free: 54.49 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004569/1.135, allocations: 3.764 MB / 1.095 GB, free: 52.06 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/1.135, allocations: 0.8039 MB / 1.096 GB, free: 51.36 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002656/1.136, allocations: 74.12 kB / 1.096 GB, free: 51.35 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/1.136, allocations: 80.22 kB / 1.096 GB, free: 51.34 MB / 0.698 GB Notification: Performance of SimCode: time 9.31e-07/1.136, allocations: 3.906 kB / 1.096 GB, free: 51.34 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/1.158, allocations: 6.267 MB / 1.102 GB, free: 50.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/1.158, allocations: 216.9 kB / 1.103 GB, free: 50.66 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/3.116, allocations: 0 / 1.103 GB, free: 50.66 MB / 0.698 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)