Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.646/1.646, allocations: 285.4 MB / 298 MB, free: 5.988 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 180.8 kB / 366.4 MB, free: 2.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.1 MB / 0.6248 GB, free: 7.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008071/0.0008071, allocations: 96.47 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.638e-05/3.642e-05, allocations: 7.984 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7507/0.7507, allocations: 115.3 MB / 0.971 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2327/0.9835, allocations: 154.2 MB / 1.122 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003403/0.9839, allocations: 89.67 kB / 1.122 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.05256/1.036, allocations: 20.38 MB / 1.142 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.603e-06/1.037, allocations: 0 / 1.142 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.998e-05/1.037, allocations: 16 kB / 1.142 GB, free: 9 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001056/1.038, allocations: 0.64 MB / 1.142 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/1.038, allocations: 12.03 kB / 1.142 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.851e-05/1.038, allocations: 74.53 kB / 1.142 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008787/1.039, allocations: 127.3 kB / 1.142 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005848/1.039, allocations: 382.6 kB / 1.143 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/1.039, allocations: 20.78 kB / 1.143 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.764e-05/1.039, allocations: 31.98 kB / 1.143 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000812/1.04, allocations: 0.5895 MB / 1.143 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/1.04, allocations: 7.922 kB / 1.143 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.383e-05/1.04, allocations: 19.98 kB / 1.143 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-05/1.04, allocations: 36.53 kB / 1.143 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005809/1.041, allocations: 373.8 kB / 1.144 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003049/1.044, allocations: 3.357 MB / 1.147 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006144/1.045, allocations: 302.8 kB / 1.147 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/1.045, allocations: 169.4 kB / 1.148 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/1.045, allocations: 3.953 kB / 1.148 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/1.045, allocations: 46.5 kB / 1.148 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=26): time 1.453e-06/1.045, allocations: 0.8438 kB / 1.148 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.001177/1.046, allocations: 0.5934 MB / 1.148 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/1.046, allocations: 55.64 kB / 1.148 GB, free: 1.695 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/1.047, allocations: 295.5 kB / 1.149 GB, free: 1.402 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/1.047, allocations: 29.7 kB / 1.149 GB, free: 1.367 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/1.047, allocations: 235.7 kB / 1.149 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.397e-05/1.047, allocations: 94.64 kB / 1.149 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.816e-05/1.047, allocations: 12 kB / 1.149 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.047, allocations: 346.8 kB / 1.149 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/1.047, allocations: 134.1 kB / 1.149 GB, free: 0.5469 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/1.048, allocations: 260.8 kB / 1.15 GB, free: 244 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/1.048, allocations: 170.6 kB / 1.15 GB, free: 76 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.048, allocations: 0 / 1.15 GB, free: 76 kB / 0.7448 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008368/1.049, allocations: 0.5128 MB / 1.15 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/1.049, allocations: 8.531 kB / 1.15 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/1.049, allocations: 8 kB / 1.15 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002919/1.049, allocations: 90.45 kB / 1.15 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/1.049, allocations: 79.88 kB / 1.15 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/1.049, allocations: 11.94 kB / 1.15 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/1.05, allocations: 35.97 kB / 1.15 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/1.05, allocations: 12 kB / 1.15 GB, free: 15.29 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001067/1.05, allocations: 124.9 kB / 1.151 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.423e-05/1.05, allocations: 43.48 kB / 1.151 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007999/1.051, allocations: 436.1 kB / 1.151 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/1.051, allocations: 5.875 kB / 1.151 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/1.051, allocations: 4 kB / 1.151 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/1.051, allocations: 0 / 1.151 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/1.052, allocations: 0.9364 MB / 1.152 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.052, allocations: 10.56 kB / 1.152 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/1.052, allocations: 52.05 kB / 1.152 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000226/1.053, allocations: 78.61 kB / 1.152 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/1.053, allocations: 4 kB / 1.152 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/1.053, allocations: 7.938 kB / 1.152 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.053, allocations: 3.938 kB / 1.152 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007599/1.053, allocations: 0.5604 MB / 1.153 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/1.054, allocations: 140.6 kB / 1.153 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/1.054, allocations: 8 kB / 1.153 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/1.054, allocations: 27.97 kB / 1.153 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.881e-05/1.054, allocations: 15.97 kB / 1.153 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/1.054, allocations: 12 kB / 1.153 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002419/1.054, allocations: 226.2 kB / 1.153 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.11e-07/1.054, allocations: 0 / 1.153 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004488/1.055, allocations: 91.94 kB / 1.153 GB, free: 12.36 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001226/1.056, allocations: 1.315 MB / 1.154 GB, free: 10.99 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007921/1.057, allocations: 0.6025 MB / 1.155 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.057, allocations: 128 / 1.155 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004237/1.057, allocations: 417.7 kB / 1.155 GB, free: 9.852 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006189/1.058, allocations: 116.6 kB / 1.156 GB, free: 9.742 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/1.059, allocations: 0.6054 MB / 1.156 GB, free: 9.09 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/1.06, allocations: 0.8356 MB / 1.157 GB, free: 8.227 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002421/1.06, allocations: 75.3 kB / 1.157 GB, free: 8.152 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/1.06, allocations: 127.4 kB / 1.157 GB, free: 8.027 MB / 0.7605 GB Notification: Performance of SimCode: time 4.51e-07/1.06, allocations: 0 / 1.157 GB, free: 8.027 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02143/1.081, allocations: 7.77 MB / 1.165 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/1.082, allocations: 199.7 kB / 1.165 GB, free: 376 kB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.25/3.332, allocations: 8 kB / 1.165 GB, free: 368 kB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)