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.67/1.67, allocations: 289.7 MB / 302.2 MB, free: 2.191 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.2 kB / 371.6 MB, free: 3.406 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.598/1.598, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0008394/0.0008394, allocations: 90.61 kB / 0.745 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.445e-05/5.471e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.344, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8454/1.189, allocations: 155.2 MB / 1.131 GB, free: 33.15 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003451/1.19, allocations: 96.86 kB / 1.132 GB, free: 33.11 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04874/1.239, allocations: 20.36 MB / 1.151 GB, free: 22.46 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.453e-06/1.239, allocations: 4 kB / 1.151 GB, free: 22.46 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.622e-05/1.239, allocations: 15.98 kB / 1.151 GB, free: 22.44 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.001011/1.24, allocations: 0.641 MB / 1.152 GB, free: 21.83 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/1.24, allocations: 13.48 kB / 1.152 GB, free: 21.82 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.946e-05/1.24, allocations: 69.2 kB / 1.152 GB, free: 21.77 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008672/1.241, allocations: 134.2 kB / 1.152 GB, free: 21.67 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005337/1.241, allocations: 379.6 kB / 1.153 GB, free: 21.34 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/1.241, allocations: 22.3 kB / 1.153 GB, free: 21.33 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.486e-05/1.241, allocations: 33.86 kB / 1.153 GB, free: 21.3 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006828/1.242, allocations: 0.584 MB / 1.153 GB, free: 20.8 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/1.242, allocations: 4 kB / 1.153 GB, free: 20.8 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/1.242, allocations: 13 kB / 1.153 GB, free: 20.79 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.379e-05/1.242, allocations: 38.55 kB / 1.153 GB, free: 20.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005033/1.243, allocations: 371.1 kB / 1.154 GB, free: 20.54 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002502/1.245, allocations: 3.361 MB / 1.157 GB, free: 17.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006195/1.246, allocations: 316.2 kB / 1.157 GB, free: 17.24 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/1.246, allocations: 167.4 kB / 1.157 GB, free: 17.14 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/1.246, allocations: 13.2 kB / 1.157 GB, free: 17.13 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/1.246, allocations: 34.56 kB / 1.157 GB, free: 17.09 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=26): time 2.996e-06/1.246, allocations: 0 / 1.157 GB, free: 17.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.001236/1.247, allocations: 0.5924 MB / 1.158 GB, free: 16.68 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/1.247, allocations: 59.58 kB / 1.158 GB, free: 16.61 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/1.248, allocations: 292.9 kB / 1.158 GB, free: 16.39 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/1.248, allocations: 33.64 kB / 1.158 GB, free: 16.36 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/1.248, allocations: 231.7 kB / 1.159 GB, free: 16.2 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.726e-05/1.248, allocations: 97.88 kB / 1.159 GB, free: 16.12 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.678e-05/1.248, allocations: 11.69 kB / 1.159 GB, free: 16.11 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001108/1.248, allocations: 351 kB / 1.159 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/1.248, allocations: 125.2 kB / 1.159 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/1.249, allocations: 254.4 kB / 1.159 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/1.249, allocations: 174.6 kB / 1.16 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/1.249, allocations: 4 kB / 1.16 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007126/1.25, allocations: 0.5137 MB / 1.16 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/1.25, allocations: 4 kB / 1.16 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/1.25, allocations: 8.031 kB / 1.16 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002891/1.25, allocations: 84.19 kB / 1.16 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/1.25, allocations: 89.61 kB / 1.16 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/1.25, allocations: 6.219 kB / 1.16 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/1.251, allocations: 34.22 kB / 1.16 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/1.251, allocations: 19.56 kB / 1.16 GB, free: 14.84 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 () * 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.0001/1.251, allocations: 127.4 kB / 1.16 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.766e-05/1.251, allocations: 40.28 kB / 1.16 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007727/1.252, allocations: 429.2 kB / 1.161 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/1.252, allocations: 8.609 kB / 1.161 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.252, allocations: 0 / 1.161 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/1.252, allocations: 1.547 kB / 1.161 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/1.253, allocations: 0.9486 MB / 1.162 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.253, allocations: 0 / 1.162 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/1.253, allocations: 59.47 kB / 1.162 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002112/1.253, allocations: 77.05 kB / 1.162 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/1.253, allocations: 6.625 kB / 1.162 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/1.253, allocations: 0 / 1.162 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.253, allocations: 9.766 kB / 1.162 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006359/1.254, allocations: 0.5582 MB / 1.163 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/1.254, allocations: 136.1 kB / 1.163 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.654e-05/1.254, allocations: 16.84 kB / 1.163 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/1.254, allocations: 21.75 kB / 1.163 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.629e-05/1.254, allocations: 23.12 kB / 1.163 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/1.254, allocations: 7.438 kB / 1.163 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001946/1.255, allocations: 234.9 kB / 1.163 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.255, allocations: 0 / 1.163 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004367/1.255, allocations: 95.59 kB / 1.163 GB, free: 12.72 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 () * 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.0009294/1.256, allocations: 1.307 MB / 1.164 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006383/1.257, allocations: 0.5895 MB / 1.165 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.257, allocations: 128 / 1.165 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002975/1.257, allocations: 421.9 kB / 1.165 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000612/1.258, allocations: 105.4 kB / 1.165 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/1.259, allocations: 0.6149 MB / 1.166 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/1.259, allocations: 0.8335 MB / 1.167 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002447/1.259, allocations: 76.75 kB / 1.167 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/1.26, allocations: 128.5 kB / 1.167 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of SimCode: time 3.31e-07/1.26, allocations: 0 / 1.167 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/1.28, allocations: 7.778 MB / 1.175 GB, free: 3.309 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001518/1.28, allocations: 185 kB / 1.175 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.363/3.643, allocations: 0 / 1.175 GB, free: 3.086 MB / 0.7448 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)