Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.837/1.837, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.00118/0.00118, allocations: 177.1 kB / 377.1 MB, free: 1.527 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.778/1.778, allocations: 205.4 MB / 0.6366 GB, free: 8.566 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.0008991/0.0008992, allocations: 94.44 kB / 0.7509 GB, free: 63.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003742, allocations: 12 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2817, allocations: 116.3 MB / 0.9884 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7604/1.042, allocations: 155.2 MB / 1.14 GB, free: 22.71 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003481/1.043, allocations: 94 kB / 1.14 GB, free: 22.64 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04913/1.092, allocations: 20.5 MB / 1.16 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.154e-06/1.092, allocations: 0 / 1.16 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.987e-05/1.092, allocations: 16 kB / 1.16 GB, free: 6.578 MB / 0.7292 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.001154/1.093, allocations: 0.6793 MB / 1.161 GB, free: 5.852 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/1.093, allocations: 16.02 kB / 1.161 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.076e-05/1.093, allocations: 74.52 kB / 1.161 GB, free: 5.754 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008833/1.094, allocations: 141.3 kB / 1.161 GB, free: 5.617 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005193/1.095, allocations: 370.5 kB / 1.161 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/1.095, allocations: 25.89 kB / 1.161 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.76e-05/1.095, allocations: 31.44 kB / 1.161 GB, free: 5.168 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007146/1.095, allocations: 0.6096 MB / 1.162 GB, free: 4.457 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/1.095, allocations: 7.938 kB / 1.162 GB, free: 4.449 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/1.095, allocations: 12 kB / 1.162 GB, free: 4.438 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.938e-05/1.095, allocations: 32.55 kB / 1.162 GB, free: 4.406 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006113/1.096, allocations: 417.8 kB / 1.163 GB, free: 3.996 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002434/1.099, allocations: 3.368 MB / 1.166 GB, free: 396 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006245/1.099, allocations: 334.6 kB / 1.166 GB, free: 48 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/1.099, allocations: 4 kB / 1.166 GB, free: 44 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.873e-05/1.099, allocations: 38.5 kB / 1.166 GB, free: 16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=26): time 2.846e-06/1.099, allocations: 4 kB / 1.166 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.002134/1.101, allocations: 1.077 MB / 1.167 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/1.101, allocations: 55.64 kB / 1.167 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/1.102, allocations: 292.8 kB / 1.168 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/1.102, allocations: 33.64 kB / 1.168 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/1.102, allocations: 243.7 kB / 1.168 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.972e-05/1.102, allocations: 90.66 kB / 1.168 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.002e-05/1.102, allocations: 8 kB / 1.168 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.102, allocations: 350.8 kB / 1.168 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/1.103, allocations: 152.7 kB / 1.168 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000332/1.103, allocations: 272.8 kB / 1.169 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/1.103, allocations: 191.1 kB / 1.169 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.103, allocations: 0 / 1.169 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009353/1.104, allocations: 0.5501 MB / 1.169 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/1.104, allocations: 11.95 kB / 1.169 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/1.104, allocations: 4 kB / 1.169 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003128/1.105, allocations: 82.52 kB / 1.169 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/1.105, allocations: 92.88 kB / 1.17 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/1.105, allocations: 4 kB / 1.17 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/1.105, allocations: 31.97 kB / 1.17 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/1.105, allocations: 16 kB / 1.17 GB, free: 12.29 MB / 0.7448 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 () * Number of clocked 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.0002212/1.105, allocations: 179.5 kB / 1.17 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.358e-05/1.106, allocations: 40.53 kB / 1.17 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008944/1.106, allocations: 476.5 kB / 1.17 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/1.106, allocations: 0 / 1.17 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/1.106, allocations: 4 kB / 1.17 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/1.106, allocations: 7.984 kB / 1.17 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/1.108, allocations: 0.9871 MB / 1.171 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/1.108, allocations: 0 / 1.171 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/1.108, allocations: 59.83 kB / 1.171 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002359/1.109, allocations: 79 kB / 1.171 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/1.109, allocations: 8 kB / 1.171 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/1.109, allocations: 0 / 1.171 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.109, allocations: 5.156 kB / 1.171 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008358/1.109, allocations: 0.5922 MB / 1.172 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/1.11, allocations: 136.6 kB / 1.172 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.888e-05/1.11, allocations: 8 kB / 1.172 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/1.11, allocations: 27.97 kB / 1.172 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.343e-05/1.11, allocations: 19.97 kB / 1.172 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/1.11, allocations: 8 kB / 1.172 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002294/1.11, allocations: 235.2 kB / 1.172 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.61e-07/1.11, allocations: 4 kB / 1.172 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004462/1.111, allocations: 88 kB / 1.172 GB, free: 9.176 MB / 0.7448 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 () * Number of clocked 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.001228/1.112, allocations: 1.35 MB / 1.174 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0008865/1.113, allocations: 0.6322 MB / 1.174 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.113, allocations: 0 / 1.174 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004625/1.113, allocations: 454.5 kB / 1.175 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000586/1.114, allocations: 110.5 kB / 1.175 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004429/1.118, allocations: 4.902 MB / 1.18 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000605/1.119, allocations: 0.8317 MB / 1.181 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003055/1.119, allocations: 76.23 kB / 1.181 GB, free: 0.4922 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/1.119, allocations: 127.4 kB / 1.181 GB, free: 376 kB / 0.7448 GB Notification: Performance of SimCode: time 1.152e-06/1.12, allocations: 4 kB / 1.181 GB, free: 372 kB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/1.145, allocations: 7.799 MB / 1.188 GB, free: 8.848 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003935/1.145, allocations: 211.3 kB / 1.189 GB, free: 8.609 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.294/3.439, allocations: 0 / 1.189 GB, free: 8.609 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)