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.594/2.594, allocations: 284.9 MB / 292.4 MB, free: 10.58 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.004162/0.004162, allocations: 180.9 kB / 360.6 MB, free: 7.301 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.272/2.272, allocations: 205.3 MB / 0.6191 GB, free: 12.22 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.001191/0.00119, allocations: 95.39 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.565e-05/2.544e-05, allocations: 4 kB / 0.8509 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8179/0.8179, allocations: 115.3 MB / 0.9634 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.266/1.084, allocations: 153.4 MB / 1.113 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003565/1.084, allocations: 93.19 kB / 1.113 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.08342/1.168, allocations: 20.3 MB / 1.133 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.114e-06/1.168, allocations: 0 / 1.133 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.483e-05/1.168, allocations: 12 kB / 1.133 GB, free: 14.58 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.001414/1.169, allocations: 0.6463 MB / 1.134 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/1.169, allocations: 12.03 kB / 1.134 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/1.171, allocations: 128.5 kB / 1.134 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009626/1.172, allocations: 386.5 kB / 1.134 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/1.172, allocations: 12 kB / 1.134 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-05/1.172, allocations: 20 kB / 1.134 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008155/1.173, allocations: 281.5 kB / 1.135 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/1.174, allocations: 0.5287 MB / 1.135 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/1.174, allocations: 7.938 kB / 1.135 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.272e-05/1.174, allocations: 7.938 kB / 1.135 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.016e-05/1.174, allocations: 36.53 kB / 1.135 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004358/1.178, allocations: 3.274 MB / 1.138 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009441/1.179, allocations: 308.4 kB / 1.139 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/1.18, allocations: 152.8 kB / 1.139 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.074e-05/1.18, allocations: 4 kB / 1.139 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/1.18, allocations: 46.45 kB / 1.139 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=26): time 3.426e-06/1.18, allocations: 0 / 1.139 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.001919/1.182, allocations: 0.5599 MB / 1.139 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/1.182, allocations: 55.64 kB / 1.139 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004514/1.182, allocations: 254.3 kB / 1.14 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/1.182, allocations: 25.7 kB / 1.14 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/1.183, allocations: 239.9 kB / 1.14 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/1.183, allocations: 94.59 kB / 1.14 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/1.183, allocations: 0 / 1.14 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001812/1.183, allocations: 350.8 kB / 1.14 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/1.183, allocations: 124.7 kB / 1.14 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004205/1.184, allocations: 244.5 kB / 1.141 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004066/1.184, allocations: 162.6 kB / 1.141 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/1.184, allocations: 3.469 kB / 1.141 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001408/1.186, allocations: 483.5 kB / 1.141 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/1.186, allocations: 9.578 kB / 1.141 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/1.186, allocations: 8 kB / 1.141 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004845/1.186, allocations: 86.5 kB / 1.141 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006628/1.187, allocations: 79.89 kB / 1.141 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.822e-05/1.187, allocations: 15.92 kB / 1.141 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005062/1.188, allocations: 23.97 kB / 1.141 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/1.188, allocations: 16 kB / 1.142 GB, free: 5.387 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.0001451/1.188, allocations: 116.7 kB / 1.142 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001068/1.189, allocations: 375.5 kB / 1.142 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.43e-05/1.189, allocations: 35.62 kB / 1.142 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/1.19, allocations: 414 kB / 1.142 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.128e-06/1.19, allocations: 4 kB / 1.142 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/1.19, allocations: 0 / 1.142 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/1.19, allocations: 0 / 1.142 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/1.192, allocations: 0.8689 MB / 1.143 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/1.192, allocations: 4.094 kB / 1.143 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004808/1.193, allocations: 51.89 kB / 1.143 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004171/1.193, allocations: 82.52 kB / 1.143 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/1.193, allocations: 0 / 1.143 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-05/1.193, allocations: 7.953 kB / 1.143 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.193, allocations: 3.938 kB / 1.143 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/1.195, allocations: 0.529 MB / 1.144 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002598/1.195, allocations: 136.7 kB / 1.144 GB, free: 2.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.226e-05/1.195, allocations: 4 kB / 1.144 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004406/1.195, allocations: 25.98 kB / 1.144 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.813e-05/1.195, allocations: 19.97 kB / 1.144 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/1.196, allocations: 8 kB / 1.144 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002945/1.196, allocations: 192.6 kB / 1.144 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.71e-07/1.196, allocations: 0 / 1.144 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006763/1.197, allocations: 80 kB / 1.144 GB, free: 2.285 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.001592/1.198, allocations: 1.29 MB / 1.146 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001117/1.199, allocations: 0.5687 MB / 1.146 GB, free: 316 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.199, allocations: 4.25 kB / 1.146 GB, free: 312 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006084/1.2, allocations: 413.6 kB / 1.147 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/1.201, allocations: 113.8 kB / 1.147 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/1.203, allocations: 0.5803 MB / 1.147 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/1.203, allocations: 0.8278 MB / 1.148 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0004484/1.204, allocations: 77.64 kB / 1.148 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/1.204, allocations: 128.3 kB / 1.148 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of SimCode: time 9.62e-07/1.204, allocations: 0 / 1.148 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04986/1.254, allocations: 6.943 MB / 1.155 GB, free: 7.281 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002411/1.254, allocations: 158.3 kB / 1.155 GB, free: 7.09 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.53/3.784, allocations: 0 / 1.155 GB, free: 7.09 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)