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.675/1.675, allocations: 289.9 MB / 297.4 MB, free: 6.285 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.001921/0.00192, allocations: 176.8 kB / 366.7 MB, free: 1.633 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.633/1.633, allocations: 205.2 MB / 0.626 GB, free: 7.152 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.0009783/0.0009782, allocations: 91.81 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.753e-05/2.764e-05, allocations: 4 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6814/0.6814, allocations: 116.3 MB / 0.9733 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2388/0.9203, allocations: 154.5 MB / 1.124 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00045/0.9209, allocations: 96.58 kB / 1.124 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0541/0.975, allocations: 20.29 MB / 1.144 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.084e-06/0.975, allocations: 0 / 1.144 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.896e-05/0.9751, allocations: 12 kB / 1.144 GB, free: 7.082 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.001358/0.9765, allocations: 0.6424 MB / 1.145 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.9765, allocations: 8.031 kB / 1.145 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.9776, allocations: 135.3 kB / 1.145 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007544/0.9784, allocations: 374.6 kB / 1.145 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.9785, allocations: 16 kB / 1.145 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.478e-05/0.9785, allocations: 20 kB / 1.145 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005696/0.9791, allocations: 279.9 kB / 1.146 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008182/0.98, allocations: 0.545 MB / 1.146 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.98, allocations: 3.984 kB / 1.146 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.345e-05/0.98, allocations: 4 kB / 1.146 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.776e-05/0.9801, allocations: 28.55 kB / 1.146 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0034/0.9835, allocations: 3.286 MB / 1.149 GB, free: 1.336 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006046/0.9841, allocations: 302.7 kB / 1.15 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.9844, allocations: 154.9 kB / 1.15 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.9844, allocations: 12.38 kB / 1.15 GB, free: 0.8633 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.9844, allocations: 34.56 kB / 1.15 GB, free: 0.8203 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=26): time 1.893e-06/0.9845, allocations: 0 / 1.15 GB, free: 0.8203 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.001247/0.9857, allocations: 0.567 MB / 1.15 GB, free: 244 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.9858, allocations: 51.64 kB / 1.15 GB, free: 180 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000332/0.9861, allocations: 254.4 kB / 1.151 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.9861, allocations: 29.7 kB / 1.151 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.9863, allocations: 243.8 kB / 1.151 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.707e-05/0.9864, allocations: 94.59 kB / 1.151 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.612e-05/0.9864, allocations: 3.938 kB / 1.151 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.9866, allocations: 342.8 kB / 1.151 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.9868, allocations: 124.7 kB / 1.151 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003176/0.9871, allocations: 244.5 kB / 1.152 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.9874, allocations: 160.8 kB / 1.152 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.9875, allocations: 4 kB / 1.152 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009571/0.9884, allocations: 479.8 kB / 1.152 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.41e-05/0.9885, allocations: 8 kB / 1.152 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.9885, allocations: 8.031 kB / 1.152 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004026/0.9889, allocations: 93.31 kB / 1.152 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003814/0.9893, allocations: 83.88 kB / 1.153 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/0.9893, allocations: 7.938 kB / 1.153 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.9897, allocations: 27.97 kB / 1.153 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/0.9897, allocations: 16 kB / 1.153 GB, free: 13.88 MB / 0.7605 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.0001583/0.9899, allocations: 111 kB / 1.153 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007179/0.9906, allocations: 383.5 kB / 1.153 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.32e-05/0.9907, allocations: 35.62 kB / 1.153 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008169/0.9915, allocations: 408.6 kB / 1.153 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.9916, allocations: 4 kB / 1.153 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.9916, allocations: 2.625 kB / 1.153 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.9916, allocations: 7.984 kB / 1.153 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.993, allocations: 0.8634 MB / 1.154 GB, free: 12 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.993, allocations: 0 / 1.154 GB, free: 12 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.9932, allocations: 55.89 kB / 1.154 GB, free: 11.94 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002473/0.9935, allocations: 74.52 kB / 1.154 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.9935, allocations: 4 kB / 1.154 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.9936, allocations: 0 / 1.154 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.9936, allocations: 7.953 kB / 1.154 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007356/0.9943, allocations: 0.5405 MB / 1.155 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.9945, allocations: 132.7 kB / 1.155 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.077e-05/0.9946, allocations: 0 / 1.155 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.9948, allocations: 23.97 kB / 1.155 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.992e-05/0.9949, allocations: 27.86 kB / 1.155 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.9949, allocations: 8 kB / 1.155 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001952/0.9951, allocations: 200.6 kB / 1.155 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9951, allocations: 4 kB / 1.155 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004524/0.9956, allocations: 80 kB / 1.155 GB, free: 10.77 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.001225/0.9968, allocations: 1.272 MB / 1.157 GB, free: 9.441 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007702/0.9976, allocations: 0.5727 MB / 1.157 GB, free: 8.805 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.9976, allocations: 4.125 kB / 1.157 GB, free: 8.801 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003944/0.998, allocations: 410.4 kB / 1.158 GB, free: 8.336 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006244/0.9986, allocations: 102.2 kB / 1.158 GB, free: 8.238 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/1, allocations: 0.5875 MB / 1.158 GB, free: 7.605 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004756/1, allocations: 0.8317 MB / 1.159 GB, free: 6.746 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003119/1.001, allocations: 71.22 kB / 1.159 GB, free: 6.676 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/1.001, allocations: 127.4 kB / 1.159 GB, free: 6.551 MB / 0.7605 GB Notification: Performance of SimCode: time 8.52e-07/1.001, allocations: 0 / 1.159 GB, free: 6.551 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03268/1.034, allocations: 6.937 MB / 1.166 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/1.034, allocations: 159.8 kB / 1.166 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.164/3.198, allocations: 2.672 kB / 1.166 GB, free: 15.59 MB / 0.7761 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)