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.973/2.973, allocations: 287.3 MB / 302.3 MB, free: 8.32 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.001487/0.001487, allocations: 172.9 kB / 370.8 MB, free: 10.87 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.149/2.149, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00126/0.00126, allocations: 94.25 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006634/0.0006636, allocations: 11.94 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2194, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9518/1.171, allocations: 154.1 MB / 1.129 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004334/1.172, allocations: 101.2 kB / 1.129 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08486/1.257, allocations: 20.49 MB / 1.149 GB, free: 24.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.064e-06/1.257, allocations: 0 / 1.149 GB, free: 24.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.526e-05/1.257, allocations: 11.53 kB / 1.149 GB, free: 24.39 MB / 0.698 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.001356/1.258, allocations: 0.6999 MB / 1.15 GB, free: 23.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/1.258, allocations: 11.67 kB / 1.15 GB, free: 23.82 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001277/1.258, allocations: 75.81 kB / 1.15 GB, free: 23.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/1.26, allocations: 144 kB / 1.15 GB, free: 23.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008795/1.261, allocations: 366.9 kB / 1.15 GB, free: 23.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/1.261, allocations: 30.56 kB / 1.15 GB, free: 23.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.546e-05/1.261, allocations: 29.34 kB / 1.15 GB, free: 23.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/1.262, allocations: 0.6029 MB / 1.151 GB, free: 23.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/1.262, allocations: 3.938 kB / 1.151 GB, free: 23.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.919e-05/1.262, allocations: 18.09 kB / 1.151 GB, free: 23.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.91e-05/1.262, allocations: 31.56 kB / 1.151 GB, free: 23.01 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/1.263, allocations: 420.9 kB / 1.151 GB, free: 22.92 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004399/1.268, allocations: 3.366 MB / 1.155 GB, free: 20.01 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/1.269, allocations: 344.7 kB / 1.155 GB, free: 19.92 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.781e-05/1.269, allocations: 7.828 kB / 1.155 GB, free: 19.92 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.28e-05/1.269, allocations: 30.56 kB / 1.155 GB, free: 19.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 3.898e-06/1.269, allocations: 3.938 kB / 1.155 GB, free: 19.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=27): time 0.005223/1.274, allocations: 1.077 MB / 1.156 GB, free: 19.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/1.275, allocations: 55.45 kB / 1.156 GB, free: 19.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000739/1.275, allocations: 299.5 kB / 1.156 GB, free: 19.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.356e-05/1.275, allocations: 28.89 kB / 1.156 GB, free: 19.06 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002844/1.276, allocations: 245.5 kB / 1.157 GB, free: 18.88 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/1.276, allocations: 93.09 kB / 1.157 GB, free: 18.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.021e-05/1.276, allocations: 7.125 kB / 1.157 GB, free: 18.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002591/1.276, allocations: 345.2 kB / 1.157 GB, free: 18.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007429/1.277, allocations: 148.1 kB / 1.157 GB, free: 18.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008309/1.278, allocations: 275.3 kB / 1.157 GB, free: 18.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006546/1.279, allocations: 188.3 kB / 1.158 GB, free: 17.96 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/1.279, allocations: 4 kB / 1.158 GB, free: 17.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002443/1.281, allocations: 0.5557 MB / 1.158 GB, free: 17.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/1.281, allocations: 6.031 kB / 1.158 GB, free: 17.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/1.281, allocations: 4 kB / 1.158 GB, free: 17.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006813/1.282, allocations: 87.64 kB / 1.158 GB, free: 17.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000895/1.283, allocations: 87.56 kB / 1.158 GB, free: 17.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.923e-05/1.283, allocations: 7.938 kB / 1.158 GB, free: 17.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000744/1.284, allocations: 35.28 kB / 1.158 GB, free: 17.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.489e-05/1.284, allocations: 20 kB / 1.158 GB, free: 17.29 MB / 0.698 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 () * Number of clocked 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.0004575/1.284, allocations: 173.6 kB / 1.159 GB, free: 17.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/1.284, allocations: 43.48 kB / 1.159 GB, free: 17.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/1.286, allocations: 470.6 kB / 1.159 GB, free: 16.74 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/1.287, allocations: 4 kB / 1.159 GB, free: 16.74 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/1.287, allocations: 4 kB / 1.159 GB, free: 16.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/1.287, allocations: 3.984 kB / 1.159 GB, free: 16.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003409/1.29, allocations: 0.9822 MB / 1.16 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/1.29, allocations: 4 kB / 1.16 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006934/1.291, allocations: 52.05 kB / 1.16 GB, free: 15.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006507/1.291, allocations: 83.89 kB / 1.16 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.482e-05/1.292, allocations: 3.75 kB / 1.16 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/1.292, allocations: 7.984 kB / 1.16 GB, free: 15.74 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.292, allocations: 0 / 1.16 GB, free: 15.74 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/1.294, allocations: 0.5917 MB / 1.161 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004027/1.294, allocations: 138.2 kB / 1.161 GB, free: 15.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/1.294, allocations: 6.875 kB / 1.161 GB, free: 15.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006243/1.295, allocations: 23.22 kB / 1.161 GB, free: 15.03 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/1.295, allocations: 27.53 kB / 1.161 GB, free: 15.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/1.295, allocations: 7.75 kB / 1.161 GB, free: 15 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005455/1.296, allocations: 232.1 kB / 1.161 GB, free: 14.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.72e-07/1.296, allocations: 0 / 1.161 GB, free: 14.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000967/1.297, allocations: 93.11 kB / 1.161 GB, free: 14.74 MB / 0.698 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 () * Number of clocked 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.002599/1.299, allocations: 1.349 MB / 1.163 GB, free: 13.44 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001992/1.301, allocations: 0.6344 MB / 1.163 GB, free: 12.84 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/1.301, allocations: 0 / 1.163 GB, free: 12.84 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/1.302, allocations: 441.4 kB / 1.164 GB, free: 12.39 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/1.304, allocations: 115 kB / 1.164 GB, free: 12.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007139/1.311, allocations: 4.895 MB / 1.168 GB, free: 7.621 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004868/1.312, allocations: 0.834 MB / 1.169 GB, free: 6.766 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004582/1.312, allocations: 75.3 kB / 1.169 GB, free: 6.688 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/1.312, allocations: 126.5 kB / 1.169 GB, free: 6.648 MB / 0.698 GB Notification: Performance of SimCode: time 1.182e-06/1.312, allocations: 0 / 1.169 GB, free: 6.648 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03734/1.35, allocations: 7.812 MB / 1.177 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002933/1.35, allocations: 214.6 kB / 1.177 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.747/4.097, allocations: 0 / 1.177 GB, free: 14.86 MB / 0.7136 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)