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.478/1.478, allocations: 249.5 MB / 257 MB, free: 6.809 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.0009873/0.0009873, allocations: 168.9 kB / 316.3 MB, free: 3.312 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.605/1.605, allocations: 205.3 MB / 0.5671 GB, free: 15.95 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.0008418/0.0008418, allocations: 90.52 kB / 0.6714 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.892e-05/1.894e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1994, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7869/0.9863, allocations: 162.2 MB / 1.044 GB, free: 9.078 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/0.9867, allocations: 105.3 kB / 1.044 GB, free: 9.016 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.04993/1.037, allocations: 19.17 MB / 1.063 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.653e-06/1.037, allocations: 0 / 1.063 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.976e-05/1.037, allocations: 4 kB / 1.063 GB, free: 9.098 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.001018/1.038, allocations: 0.5438 MB / 1.063 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/1.038, allocations: 8.031 kB / 1.063 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009254/1.039, allocations: 107.5 kB / 1.063 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005268/1.039, allocations: 294.6 kB / 1.063 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/1.039, allocations: 11.94 kB / 1.063 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.532e-05/1.039, allocations: 12 kB / 1.063 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004213/1.04, allocations: 251.6 kB / 1.064 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005543/1.04, allocations: 394.9 kB / 1.064 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/1.04, allocations: 3.938 kB / 1.064 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/1.04, allocations: 0 / 1.064 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.612e-05/1.041, allocations: 27.55 kB / 1.064 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002396/1.043, allocations: 2.153 MB / 1.066 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004213/1.043, allocations: 249.7 kB / 1.066 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/1.044, allocations: 152.2 kB / 1.067 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/1.044, allocations: 4.188 kB / 1.067 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/1.044, allocations: 34.75 kB / 1.067 GB, free: 5.129 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/1.044, allocations: 0 / 1.067 GB, free: 5.129 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.001275/1.045, allocations: 0.7732 MB / 1.067 GB, free: 4.461 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/1.045, allocations: 55.41 kB / 1.067 GB, free: 4.395 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/1.045, allocations: 200.1 kB / 1.068 GB, free: 4.227 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/1.045, allocations: 29.69 kB / 1.068 GB, free: 4.191 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/1.045, allocations: 185.4 kB / 1.068 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.2e-05/1.045, allocations: 85.34 kB / 1.068 GB, free: 3.949 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.797e-05/1.045, allocations: 0 / 1.068 GB, free: 3.949 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001451/1.046, allocations: 331.6 kB / 1.068 GB, free: 3.625 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/1.046, allocations: 148.8 kB / 1.068 GB, free: 3.531 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/1.046, allocations: 209.5 kB / 1.069 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/1.046, allocations: 184.7 kB / 1.069 GB, free: 3.227 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.046, allocations: 0 / 1.069 GB, free: 3.227 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001064/1.048, allocations: 0.5378 MB / 1.069 GB, free: 2.805 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/1.048, allocations: 8 kB / 1.069 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/1.048, allocations: 3.938 kB / 1.069 GB, free: 2.793 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006086/1.048, allocations: 186.9 kB / 1.069 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/1.049, allocations: 59.78 kB / 1.07 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002618/1.051, allocations: 2.197 MB / 1.072 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003245/1.051, allocations: 16 kB / 1.072 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/1.052, allocations: 12 kB / 1.072 GB, free: 0.5898 MB / 0.6823 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.0001242/1.052, allocations: 112.8 kB / 1.072 GB, free: 488 kB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004239/1.052, allocations: 301.4 kB / 1.072 GB, free: 256 kB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.966e-05/1.052, allocations: 23.72 kB / 1.072 GB, free: 232 kB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004866/1.053, allocations: 322.8 kB / 1.072 GB, free: 0 / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/1.053, allocations: 8 kB / 1.072 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/1.053, allocations: 0 / 1.072 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.053, allocations: 3.938 kB / 1.072 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000984/1.054, allocations: 0.7387 MB / 1.073 GB, free: 15.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/1.054, allocations: 0 / 1.073 GB, free: 15.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003961/1.054, allocations: 78.56 kB / 1.073 GB, free: 15.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/1.054, allocations: 7.953 kB / 1.073 GB, free: 15.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/1.054, allocations: 4 kB / 1.073 GB, free: 15.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.054, allocations: 0 / 1.073 GB, free: 15.26 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.054, allocations: 0 / 1.073 GB, free: 15.26 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007195/1.055, allocations: 0.6151 MB / 1.074 GB, free: 14.76 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/1.055, allocations: 123 kB / 1.074 GB, free: 14.63 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/1.055, allocations: 3.984 kB / 1.074 GB, free: 14.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/1.055, allocations: 7.984 kB / 1.074 GB, free: 14.62 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/1.055, allocations: 15.23 kB / 1.074 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/1.055, allocations: 8 kB / 1.074 GB, free: 14.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001629/1.056, allocations: 156 kB / 1.074 GB, free: 14.48 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/1.056, allocations: 4 kB / 1.074 GB, free: 14.47 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004809/1.056, allocations: 84 kB / 1.074 GB, free: 14.39 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.001241/1.057, allocations: 1.305 MB / 1.076 GB, free: 13.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008239/1.058, allocations: 0.4918 MB / 1.076 GB, free: 12.81 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/1.058, allocations: 3.938 kB / 1.076 GB, free: 12.81 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000184/1.058, allocations: 140.1 kB / 1.076 GB, free: 12.71 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/1.059, allocations: 46.27 kB / 1.076 GB, free: 12.68 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/1.06, allocations: 0.7726 MB / 1.077 GB, free: 11.92 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/1.061, allocations: 0.8015 MB / 1.078 GB, free: 11.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002272/1.061, allocations: 74 kB / 1.078 GB, free: 11.03 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/1.061, allocations: 77.84 kB / 1.078 GB, free: 11 MB / 0.698 GB Notification: Performance of SimCode: time 3.71e-07/1.061, allocations: 4 kB / 1.078 GB, free: 11 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02703/1.088, allocations: 5.623 MB / 1.083 GB, free: 5.406 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/1.089, allocations: 167.8 kB / 1.084 GB, free: 5.207 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/2.863, allocations: 6.047 kB / 1.084 GB, free: 5.203 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)