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.577/1.577, allocations: 249.3 MB / 261.8 MB, free: 5.82 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 180.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0008166/0.0008165, allocations: 82.53 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.744e-05/3.79e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2363, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7533/0.9897, allocations: 161.9 MB / 1.05 GB, free: 6.742 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.99, allocations: 96.88 kB / 1.05 GB, free: 6.688 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.04774/1.038, allocations: 19.24 MB / 1.069 GB, free: 6.57 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.512e-06/1.038, allocations: 0 / 1.069 GB, free: 6.57 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.131e-05/1.038, allocations: 8 kB / 1.069 GB, free: 6.562 MB / 0.6823 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.001211/1.039, allocations: 0.5491 MB / 1.069 GB, free: 5.984 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/1.039, allocations: 8.031 kB / 1.069 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.803e-05/1.039, allocations: 59.66 kB / 1.07 GB, free: 5.922 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009551/1.04, allocations: 103.5 kB / 1.07 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005256/1.041, allocations: 301.6 kB / 1.07 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/1.041, allocations: 16 kB / 1.07 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.709e-05/1.041, allocations: 26.98 kB / 1.07 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006309/1.041, allocations: 426.5 kB / 1.07 GB, free: 5.129 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/1.042, allocations: 0 / 1.07 GB, free: 5.129 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.677e-05/1.042, allocations: 10.62 kB / 1.07 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.117e-05/1.042, allocations: 28.36 kB / 1.07 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004834/1.042, allocations: 344.3 kB / 1.071 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00254/1.045, allocations: 2.205 MB / 1.073 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/1.045, allocations: 266.8 kB / 1.073 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/1.045, allocations: 161.3 kB / 1.073 GB, free: 2.41 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/1.045, allocations: 192 / 1.073 GB, free: 2.41 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/1.045, allocations: 42.55 kB / 1.073 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 1.402e-06/1.045, allocations: 0 / 1.073 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.001262/1.047, allocations: 0.8168 MB / 1.074 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/1.047, allocations: 51.41 kB / 1.074 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/1.047, allocations: 227.1 kB / 1.074 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/1.047, allocations: 37.08 kB / 1.074 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/1.047, allocations: 178.8 kB / 1.075 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.639e-05/1.047, allocations: 85.62 kB / 1.075 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.948e-05/1.047, allocations: 3.938 kB / 1.075 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001371/1.047, allocations: 337.4 kB / 1.075 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/1.048, allocations: 142.3 kB / 1.075 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/1.048, allocations: 227.1 kB / 1.075 GB, free: 0.5273 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/1.048, allocations: 184.3 kB / 1.076 GB, free: 416 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.048, allocations: 4 kB / 1.076 GB, free: 412 kB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009828/1.049, allocations: 0.572 MB / 1.076 GB, free: 15.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/1.049, allocations: 8 kB / 1.076 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.049, allocations: 0 / 1.076 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006306/1.05, allocations: 186.4 kB / 1.076 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/1.05, allocations: 67.77 kB / 1.076 GB, free: 15.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00264/1.053, allocations: 2.269 MB / 1.079 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/1.053, allocations: 18.77 kB / 1.079 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/1.053, allocations: 15.98 kB / 1.079 GB, free: 13.66 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 () * 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.0001318/1.053, allocations: 118.2 kB / 1.079 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/1.053, allocations: 23.72 kB / 1.079 GB, free: 13.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005606/1.054, allocations: 362.8 kB / 1.079 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/1.054, allocations: 4.062 kB / 1.079 GB, free: 13.26 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/1.054, allocations: 0 / 1.079 GB, free: 13.26 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/1.054, allocations: 3.984 kB / 1.079 GB, free: 13.26 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/1.055, allocations: 0.7969 MB / 1.08 GB, free: 12.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/1.055, allocations: 7.953 kB / 1.08 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003883/1.056, allocations: 71.56 kB / 1.08 GB, free: 12.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/1.056, allocations: 0 / 1.08 GB, free: 12.49 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/1.056, allocations: 7.188 kB / 1.08 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/1.056, allocations: 15.98 kB / 1.08 GB, free: 12.47 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.056, allocations: 0 / 1.08 GB, free: 12.47 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007418/1.056, allocations: 0.6163 MB / 1.081 GB, free: 11.97 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/1.057, allocations: 131.5 kB / 1.081 GB, free: 11.83 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/1.057, allocations: 7.875 kB / 1.081 GB, free: 11.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/1.057, allocations: 15.11 kB / 1.081 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/1.057, allocations: 19.17 kB / 1.081 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/1.057, allocations: 4 kB / 1.081 GB, free: 11.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001883/1.057, allocations: 182.1 kB / 1.081 GB, free: 11.65 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.7e-07/1.057, allocations: 0 / 1.081 GB, free: 11.65 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004783/1.058, allocations: 97.25 kB / 1.081 GB, free: 11.57 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 () * 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.00129/1.059, allocations: 1.324 MB / 1.082 GB, free: 10.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009585/1.06, allocations: 0.5194 MB / 1.083 GB, free: 9.949 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.06, allocations: 0 / 1.083 GB, free: 9.949 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/1.06, allocations: 154.1 kB / 1.083 GB, free: 9.84 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/1.06, allocations: 52.14 kB / 1.083 GB, free: 9.805 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/1.062, allocations: 0.7968 MB / 1.084 GB, free: 9.043 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/1.063, allocations: 0.7978 MB / 1.085 GB, free: 8.227 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002225/1.063, allocations: 74.91 kB / 1.085 GB, free: 8.152 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/1.063, allocations: 87.09 kB / 1.085 GB, free: 8.121 MB / 0.698 GB Notification: Performance of SimCode: time 5.21e-07/1.063, allocations: 0 / 1.085 GB, free: 8.121 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0202/1.083, allocations: 6.263 MB / 1.091 GB, free: 2.016 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/1.083, allocations: 190.4 kB / 1.091 GB, free: 1.793 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/2.943, allocations: 0 / 1.091 GB, free: 1.793 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)