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.VariableImpedance.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.VariableImpedance,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.569/1.569, allocations: 249.3 MB / 261.8 MB, free: 5.867 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.001072/0.001073, allocations: 184.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.454/1.454, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0009249/0.0009248, allocations: 94.53 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.374e-05/4.388e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2626, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8142/1.077, allocations: 147.9 MB / 1.036 GB, free: 4.137 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/1.077, allocations: 97.17 kB / 1.036 GB, free: 4.082 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05043/1.128, allocations: 20.37 MB / 1.056 GB, free: 2.926 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.472e-06/1.128, allocations: 3.938 kB / 1.056 GB, free: 2.922 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.179e-05/1.128, allocations: 12 kB / 1.056 GB, free: 2.91 MB / 0.6667 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.001069/1.129, allocations: 0.6486 MB / 1.057 GB, free: 2.246 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.129, allocations: 8.031 kB / 1.057 GB, free: 2.238 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.605e-05/1.129, allocations: 67.59 kB / 1.057 GB, free: 2.18 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008583/1.13, allocations: 131.3 kB / 1.057 GB, free: 2.051 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005976/1.13, allocations: 383.5 kB / 1.058 GB, free: 1.668 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/1.13, allocations: 19.97 kB / 1.058 GB, free: 1.656 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.611e-05/1.131, allocations: 37.39 kB / 1.058 GB, free: 1.629 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007376/1.131, allocations: 0.577 MB / 1.058 GB, free: 1.07 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/1.131, allocations: 7.625 kB / 1.058 GB, free: 1.066 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.201e-05/1.131, allocations: 18.36 kB / 1.058 GB, free: 1.055 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.573e-05/1.131, allocations: 40.41 kB / 1.058 GB, free: 1.02 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005333/1.132, allocations: 372.2 kB / 1.059 GB, free: 0.7578 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003005/1.135, allocations: 3.354 MB / 1.062 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006082/1.136, allocations: 319.9 kB / 1.062 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/1.136, allocations: 165.8 kB / 1.062 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/1.136, allocations: 0 / 1.062 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/1.136, allocations: 34.56 kB / 1.062 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=26): time 1.242e-06/1.136, allocations: 0 / 1.062 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=27): time 0.001232/1.137, allocations: 0.6012 MB / 1.063 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/1.137, allocations: 59.59 kB / 1.063 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/1.138, allocations: 297 kB / 1.063 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/1.138, allocations: 25.7 kB / 1.063 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/1.138, allocations: 239.5 kB / 1.064 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.512e-05/1.138, allocations: 99.83 kB / 1.064 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.605e-05/1.138, allocations: 6.625 kB / 1.064 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.138, allocations: 347.9 kB / 1.064 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/1.138, allocations: 136.3 kB / 1.064 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/1.138, allocations: 245.8 kB / 1.064 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/1.139, allocations: 176.6 kB / 1.064 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.139, allocations: 4 kB / 1.064 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007813/1.139, allocations: 0.5065 MB / 1.065 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/1.14, allocations: 11.94 kB / 1.065 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.14, allocations: 4 kB / 1.065 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003188/1.14, allocations: 89.23 kB / 1.065 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/1.14, allocations: 87.38 kB / 1.065 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/1.14, allocations: 8 kB / 1.065 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/1.141, allocations: 31.22 kB / 1.065 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/1.141, allocations: 12 kB / 1.065 GB, free: 10.51 MB / 0.6823 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.0001179/1.141, allocations: 134.2 kB / 1.065 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.957e-05/1.141, allocations: 47.47 kB / 1.065 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007667/1.142, allocations: 435.9 kB / 1.066 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/1.142, allocations: 0 / 1.066 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/1.142, allocations: 4 kB / 1.066 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/1.142, allocations: 0 / 1.066 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/1.143, allocations: 0.941 MB / 1.067 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/1.143, allocations: 0 / 1.067 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/1.143, allocations: 59.2 kB / 1.067 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002341/1.143, allocations: 82.02 kB / 1.067 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/1.143, allocations: 3.438 kB / 1.067 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/1.143, allocations: 4 kB / 1.067 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.143, allocations: 3.938 kB / 1.067 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007154/1.144, allocations: 0.561 MB / 1.067 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/1.144, allocations: 138.6 kB / 1.068 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/1.144, allocations: 3.125 kB / 1.068 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/1.145, allocations: 27.28 kB / 1.068 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.559e-05/1.145, allocations: 26.97 kB / 1.068 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/1.145, allocations: 11.44 kB / 1.068 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002141/1.145, allocations: 224.3 kB / 1.068 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.733e-06/1.145, allocations: 0 / 1.068 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004249/1.145, allocations: 102.2 kB / 1.068 GB, free: 8.059 MB / 0.6823 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.001069/1.147, allocations: 1.31 MB / 1.069 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006968/1.147, allocations: 0.5873 MB / 1.07 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.147, allocations: 7.438 kB / 1.07 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003642/1.148, allocations: 413.4 kB / 1.07 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005904/1.148, allocations: 116.6 kB / 1.07 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/1.149, allocations: 0.6074 MB / 1.071 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/1.15, allocations: 0.8374 MB / 1.072 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002603/1.15, allocations: 83.28 kB / 1.072 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/1.15, allocations: 125.7 kB / 1.072 GB, free: 4.156 MB / 0.6823 GB Notification: Performance of SimCode: time 5.11e-07/1.15, allocations: 0 / 1.072 GB, free: 4.156 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/1.172, allocations: 7.778 MB / 1.079 GB, free: 12.58 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/1.172, allocations: 200.7 kB / 1.08 GB, free: 12.35 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.439/3.611, allocations: 0 / 1.08 GB, free: 12.35 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)