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.405/1.405, allocations: 249.5 MB / 257 MB, free: 6.98 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.001049/0.001049, allocations: 172.7 kB / 316.3 MB, free: 3.305 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.542/1.542, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0007849/0.0007849, allocations: 94.34 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.838e-05/1.841e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1926, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6942/0.8868, allocations: 148.2 MB / 1.03 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/0.8872, allocations: 92.66 kB / 1.03 GB, free: 6.844 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05001/0.9372, allocations: 20.29 MB / 1.05 GB, free: 5.891 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9373, allocations: 0 / 1.05 GB, free: 5.891 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.631e-05/0.9373, allocations: 12 kB / 1.05 GB, free: 5.879 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.001274/0.9386, allocations: 0.646 MB / 1.051 GB, free: 5.219 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.9387, allocations: 8.031 kB / 1.051 GB, free: 5.211 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.9397, allocations: 131.3 kB / 1.051 GB, free: 5.082 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005954/0.9403, allocations: 377.4 kB / 1.051 GB, free: 4.707 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.9403, allocations: 12 kB / 1.051 GB, free: 4.695 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.959e-05/0.9404, allocations: 26.97 kB / 1.051 GB, free: 4.672 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004584/0.9409, allocations: 283.6 kB / 1.051 GB, free: 4.484 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007161/0.9416, allocations: 0.5279 MB / 1.052 GB, free: 3.953 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.9416, allocations: 11.67 kB / 1.052 GB, free: 3.945 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.804e-05/0.9417, allocations: 4 kB / 1.052 GB, free: 3.941 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.341e-05/0.9417, allocations: 28.55 kB / 1.052 GB, free: 3.914 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002748/0.9445, allocations: 3.279 MB / 1.055 GB, free: 0.6484 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000561/0.9451, allocations: 309.1 kB / 1.055 GB, free: 440 kB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.9453, allocations: 152.5 kB / 1.056 GB, free: 336 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.9453, allocations: 4 kB / 1.056 GB, free: 332 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.9454, allocations: 46.2 kB / 1.056 GB, free: 280 kB / 0.6667 GB Notification: Performance of pre-optimization done (n=26): time 1.994e-06/0.9454, allocations: 0 / 1.056 GB, free: 280 kB / 0.6667 GB Notification: Performance of matching and sorting (n=27): time 0.001088/0.9465, allocations: 0.5676 MB / 1.056 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.9465, allocations: 51.64 kB / 1.056 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.9468, allocations: 254.4 kB / 1.056 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.9468, allocations: 25.7 kB / 1.056 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.947, allocations: 244.9 kB / 1.057 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.642e-05/0.947, allocations: 98.89 kB / 1.057 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.779e-05/0.9471, allocations: 0 / 1.057 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.9472, allocations: 347.7 kB / 1.057 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.9474, allocations: 124.2 kB / 1.057 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.9476, allocations: 243.8 kB / 1.057 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.9478, allocations: 157.2 kB / 1.058 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.9479, allocations: 4 kB / 1.058 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007283/0.9486, allocations: 474.7 kB / 1.058 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.9486, allocations: 15.94 kB / 1.058 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.9486, allocations: 4.531 kB / 1.058 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002845/0.9489, allocations: 87.2 kB / 1.058 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003361/0.9493, allocations: 79.89 kB / 1.058 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.9493, allocations: 11.92 kB / 1.058 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.9496, allocations: 23.97 kB / 1.058 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.9496, allocations: 15.31 kB / 1.058 GB, free: 13.84 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.0001039/0.9497, allocations: 116.7 kB / 1.058 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005406/0.9503, allocations: 375.7 kB / 1.059 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.203e-05/0.9503, allocations: 39.61 kB / 1.059 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006567/0.951, allocations: 409.3 kB / 1.059 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.951, allocations: 3.938 kB / 1.059 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.951, allocations: 4 kB / 1.059 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.951, allocations: 7.984 kB / 1.059 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.9522, allocations: 0.8575 MB / 1.06 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.9522, allocations: 0 / 1.06 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.9525, allocations: 59.98 kB / 1.06 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002261/0.9527, allocations: 73.14 kB / 1.06 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.9528, allocations: 4 kB / 1.06 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.9528, allocations: 7.891 kB / 1.06 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.9528, allocations: 0 / 1.06 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006953/0.9535, allocations: 0.5274 MB / 1.061 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.9537, allocations: 147.1 kB / 1.061 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.942e-05/0.9537, allocations: 0 / 1.061 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.9539, allocations: 23.92 kB / 1.061 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7e-05/0.954, allocations: 23.47 kB / 1.061 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.9541, allocations: 7.938 kB / 1.061 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001807/0.9542, allocations: 199 kB / 1.061 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9542, allocations: 0 / 1.061 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004519/0.9547, allocations: 80 kB / 1.061 GB, free: 11.24 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.0009789/0.9557, allocations: 1.293 MB / 1.062 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006516/0.9564, allocations: 0.5662 MB / 1.063 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9564, allocations: 0 / 1.063 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003614/0.9567, allocations: 419.9 kB / 1.063 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006222/0.9574, allocations: 104.8 kB / 1.064 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.9586, allocations: 0.5753 MB / 1.064 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.959, allocations: 0.8405 MB / 1.065 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002778/0.9593, allocations: 75.2 kB / 1.065 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.9594, allocations: 130.1 kB / 1.065 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of SimCode: time 8.62e-07/0.9595, allocations: 0 / 1.065 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02867/0.9881, allocations: 6.955 MB / 1.072 GB, free: 0.5078 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/0.9884, allocations: 169.6 kB / 1.072 GB, free: 320 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.025/3.013, allocations: 0 / 1.072 GB, free: 320 kB / 0.6823 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)