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.697/1.697, allocations: 285.6 MB / 293.1 MB, free: 10.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.001217/0.001217, allocations: 176.9 kB / 361.4 MB, free: 6.809 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.66/1.66, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0008198/0.0008197, allocations: 96.19 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.262e-05/3.263e-05, allocations: 4 kB / 0.8518 GB, free: 2.613 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.694/0.694, allocations: 115.3 MB / 0.9645 GB, free: 78.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2405/0.9345, allocations: 153.5 MB / 1.114 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000411/0.935, allocations: 87.94 kB / 1.114 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.07578/1.011, allocations: 20.29 MB / 1.134 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.185e-06/1.011, allocations: 0 / 1.134 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.776e-05/1.011, allocations: 8 kB / 1.134 GB, free: 13.7 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.001451/1.012, allocations: 0.6541 MB / 1.135 GB, free: 13 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/1.012, allocations: 8.031 kB / 1.135 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/1.014, allocations: 132.3 kB / 1.135 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008213/1.015, allocations: 390.5 kB / 1.135 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/1.015, allocations: 8 kB / 1.135 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.238e-05/1.015, allocations: 16 kB / 1.135 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007199/1.016, allocations: 281.5 kB / 1.136 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/1.017, allocations: 0.5372 MB / 1.136 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/1.017, allocations: 4 kB / 1.136 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.243e-05/1.017, allocations: 7.922 kB / 1.136 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.881e-05/1.017, allocations: 40.53 kB / 1.136 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004238/1.021, allocations: 3.274 MB / 1.14 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008354/1.022, allocations: 298.8 kB / 1.14 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/1.022, allocations: 152.8 kB / 1.14 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/1.022, allocations: 7.938 kB / 1.14 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/1.022, allocations: 38.55 kB / 1.14 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=26): time 4.618e-06/1.023, allocations: 0 / 1.14 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.001744/1.024, allocations: 0.57 MB / 1.141 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/1.024, allocations: 55.64 kB / 1.141 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003771/1.025, allocations: 246.3 kB / 1.141 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/1.025, allocations: 29.7 kB / 1.141 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/1.025, allocations: 243.8 kB / 1.141 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/1.025, allocations: 94.59 kB / 1.141 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.966e-05/1.025, allocations: 0 / 1.141 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001938/1.025, allocations: 350.8 kB / 1.142 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/1.026, allocations: 124.7 kB / 1.142 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003743/1.026, allocations: 240.5 kB / 1.142 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/1.026, allocations: 162.6 kB / 1.142 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.026, allocations: 4 kB / 1.142 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001125/1.028, allocations: 480 kB / 1.142 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/1.028, allocations: 13.16 kB / 1.142 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/1.028, allocations: 4 kB / 1.142 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004093/1.028, allocations: 82.47 kB / 1.143 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005602/1.029, allocations: 91.86 kB / 1.143 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/1.029, allocations: 11.94 kB / 1.143 GB, free: 4.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004201/1.029, allocations: 23.97 kB / 1.143 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.766e-05/1.029, allocations: 18 kB / 1.143 GB, free: 4.496 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.000145/1.029, allocations: 112.9 kB / 1.143 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009313/1.03, allocations: 379.5 kB / 1.143 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.7e-05/1.03, allocations: 31.62 kB / 1.143 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/1.031, allocations: 416.1 kB / 1.144 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/1.031, allocations: 4 kB / 1.144 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/1.031, allocations: 2.906 kB / 1.144 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/1.031, allocations: 0 / 1.144 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/1.033, allocations: 0.8689 MB / 1.144 GB, free: 2.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.033, allocations: 4 kB / 1.144 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003785/1.034, allocations: 47.91 kB / 1.145 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003662/1.034, allocations: 86.5 kB / 1.145 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/1.034, allocations: 0 / 1.145 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/1.034, allocations: 0 / 1.145 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.737e-06/1.034, allocations: 21.33 kB / 1.145 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/1.035, allocations: 0.5252 MB / 1.145 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/1.036, allocations: 132.7 kB / 1.145 GB, free: 1.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.488e-05/1.036, allocations: 3.984 kB / 1.145 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003834/1.036, allocations: 19.98 kB / 1.145 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/1.036, allocations: 27.91 kB / 1.145 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/1.036, allocations: 8 kB / 1.145 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002972/1.037, allocations: 192.6 kB / 1.146 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.61e-07/1.037, allocations: 4 kB / 1.146 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007552/1.037, allocations: 76 kB / 1.146 GB, free: 1.391 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.001628/1.039, allocations: 1.289 MB / 1.147 GB, free: 48 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001156/1.04, allocations: 0.5768 MB / 1.147 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.04, allocations: 0 / 1.147 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005654/1.041, allocations: 409.6 kB / 1.148 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009347/1.042, allocations: 112.1 kB / 1.148 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/1.044, allocations: 0.5759 MB / 1.148 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005764/1.044, allocations: 0.8356 MB / 1.149 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003996/1.045, allocations: 75.22 kB / 1.149 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/1.045, allocations: 120.3 kB / 1.149 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of SimCode: time 5.01e-07/1.045, allocations: 4 kB / 1.149 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03602/1.081, allocations: 6.952 MB / 1.156 GB, free: 6.375 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002945/1.081, allocations: 166 kB / 1.156 GB, free: 6.184 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.467/3.548, allocations: 0 / 1.156 GB, free: 6.184 MB / 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)