Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.417/2.417, allocations: 284.7 MB / 297.2 MB, free: 6.363 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.001535/0.001535, allocations: 165 kB / 365.6 MB, free: 2.621 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.039/2.039, allocations: 205.1 MB / 0.6239 GB, free: 8.219 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.001694/0.001693, allocations: 98.3 kB / 0.7371 GB, free: 40.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.088e-05/4.133e-05, allocations: 4 kB / 0.8574 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7993/0.7994, allocations: 115.2 MB / 0.97 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2903/1.09, allocations: 154 MB / 1.12 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005451/1.09, allocations: 95.34 kB / 1.12 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.09676/1.187, allocations: 20.38 MB / 1.14 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.783e-06/1.187, allocations: 0 / 1.14 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.212e-05/1.187, allocations: 8 kB / 1.14 GB, free: 9.863 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.001588/1.189, allocations: 0.6424 MB / 1.141 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/1.189, allocations: 12.03 kB / 1.141 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001525/1.189, allocations: 70.52 kB / 1.141 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/1.191, allocations: 132.5 kB / 1.141 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/1.192, allocations: 382.6 kB / 1.142 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/1.192, allocations: 24.77 kB / 1.142 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.121e-05/1.192, allocations: 35.98 kB / 1.142 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/1.193, allocations: 0.5771 MB / 1.142 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/1.193, allocations: 7.875 kB / 1.142 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.894e-05/1.193, allocations: 20 kB / 1.142 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.493e-05/1.193, allocations: 32.53 kB / 1.142 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/1.194, allocations: 377.8 kB / 1.143 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005044/1.2, allocations: 3.361 MB / 1.146 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/1.201, allocations: 308.4 kB / 1.146 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004212/1.201, allocations: 172.8 kB / 1.146 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.387e-05/1.201, allocations: 7.938 kB / 1.146 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/1.201, allocations: 34.5 kB / 1.146 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=26): time 3.406e-06/1.201, allocations: 0 / 1.146 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.002038/1.203, allocations: 0.5934 MB / 1.147 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/1.203, allocations: 59.59 kB / 1.147 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005232/1.204, allocations: 299.5 kB / 1.147 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.013e-05/1.204, allocations: 29.7 kB / 1.147 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/1.204, allocations: 235.7 kB / 1.148 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/1.204, allocations: 94.64 kB / 1.148 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/1.204, allocations: 4 kB / 1.148 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001864/1.205, allocations: 350.8 kB / 1.148 GB, free: 1.539 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/1.205, allocations: 128.7 kB / 1.148 GB, free: 1.41 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/1.205, allocations: 258.3 kB / 1.148 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000496/1.206, allocations: 178.6 kB / 1.149 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.206, allocations: 0 / 1.149 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00151/1.207, allocations: 0.5112 MB / 1.149 GB, free: 416 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/1.208, allocations: 8 kB / 1.149 GB, free: 408 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/1.208, allocations: 4 kB / 1.149 GB, free: 404 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004987/1.208, allocations: 86.45 kB / 1.149 GB, free: 308 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006979/1.209, allocations: 92.28 kB / 1.149 GB, free: 216 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.066e-05/1.209, allocations: 7.938 kB / 1.149 GB, free: 208 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000533/1.209, allocations: 31.59 kB / 1.149 GB, free: 180 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.948e-05/1.209, allocations: 16 kB / 1.149 GB, free: 164 kB / 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.00017/1.21, allocations: 130.9 kB / 1.149 GB, free: 28 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/1.21, allocations: 47.53 kB / 1.149 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/1.211, allocations: 428 kB / 1.15 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/1.211, allocations: 4 kB / 1.15 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/1.211, allocations: 0 / 1.15 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/1.211, allocations: 3.562 kB / 1.15 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002364/1.214, allocations: 0.9403 MB / 1.151 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/1.214, allocations: 4 kB / 1.151 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005242/1.214, allocations: 51.95 kB / 1.151 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004538/1.215, allocations: 82.55 kB / 1.151 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/1.215, allocations: 8 kB / 1.151 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/1.215, allocations: 4.094 kB / 1.151 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.215, allocations: 0 / 1.151 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/1.216, allocations: 0.5642 MB / 1.151 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003043/1.216, allocations: 136.6 kB / 1.152 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.995e-05/1.217, allocations: 8 kB / 1.152 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00043/1.217, allocations: 23.97 kB / 1.152 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/1.217, allocations: 23.97 kB / 1.152 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/1.217, allocations: 4 kB / 1.152 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004008/1.218, allocations: 238.2 kB / 1.152 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.61e-07/1.218, allocations: 0 / 1.152 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006728/1.218, allocations: 87.94 kB / 1.152 GB, free: 13.22 MB / 0.7605 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.001845/1.22, allocations: 1.312 MB / 1.153 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001281/1.221, allocations: 0.5992 MB / 1.154 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/1.221, allocations: 0 / 1.154 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006665/1.222, allocations: 417.6 kB / 1.154 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/1.223, allocations: 114.6 kB / 1.154 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/1.225, allocations: 0.6054 MB / 1.155 GB, free: 9.957 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005937/1.226, allocations: 0.8356 MB / 1.156 GB, free: 9.09 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0004917/1.226, allocations: 79.3 kB / 1.156 GB, free: 9.012 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002889/1.227, allocations: 125.5 kB / 1.156 GB, free: 8.891 MB / 0.7605 GB Notification: Performance of SimCode: time 1.423e-06/1.227, allocations: 0 / 1.156 GB, free: 8.891 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04325/1.27, allocations: 7.766 MB / 1.164 GB, free: 1.512 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003515/1.27, allocations: 199 kB / 1.164 GB, free: 1.285 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.631/3.901, allocations: 0 / 1.164 GB, free: 1.285 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)