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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001056, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 194.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.214/1.214, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.492/1.492, allocations: 292.3 MB / 0.5486 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 67.12 kB / 0.6711 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1672, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004565/0.1718, allocations: 3.794 MB / 0.7867 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002438/0.1743, allocations: 1.817 MB / 0.7885 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.1745, allocations: 15.88 kB / 0.7885 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007304/0.1752, allocations: 246.3 kB / 0.7887 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005468/0.1758, allocations: 278.7 kB / 0.789 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.1763, allocations: 215.6 kB / 0.7892 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005627/0.1768, allocations: 0.6087 MB / 0.7898 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004238/0.1773, allocations: 294.5 kB / 0.7901 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002977/0.1776, allocations: 239 kB / 0.7903 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002649/0.1779, allocations: 239 kB / 0.7905 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.216e-05/0.1779, allocations: 24 kB / 0.7905 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003593/0.1783, allocations: 275.4 kB / 0.7908 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.1784, allocations: 123.6 kB / 0.7909 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.1786, allocations: 210.9 kB / 0.7911 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005565/0.1791, allocations: 0.5998 MB / 0.7917 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1791, allocations: 0 / 0.7917 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1792, allocations: 0 / 0.7917 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.1792, allocations: 4 kB / 0.7917 GB, free: 4.832 MB / 0.6075 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.0009763/0.1801, allocations: 0.74 MB / 0.7924 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1802, allocations: 15.97 kB / 0.7924 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.548e-05/0.1803, allocations: 70.7 kB / 0.7925 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008113/0.1811, allocations: 132.2 kB / 0.7926 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.1815, allocations: 367.7 kB / 0.793 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.1815, allocations: 25.02 kB / 0.793 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.356e-05/0.1816, allocations: 28.38 kB / 0.793 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000693/0.1823, allocations: 0.5625 MB / 0.7936 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.1823, allocations: 7.906 kB / 0.7936 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/0.1823, allocations: 15.98 kB / 0.7936 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-05/0.1824, allocations: 40.53 kB / 0.7936 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006021/0.183, allocations: 409.7 kB / 0.794 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00238/0.1854, allocations: 3.33 MB / 0.7973 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005646/0.186, allocations: 334.5 kB / 0.7976 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002657/0.1862, allocations: 180.8 kB / 0.7978 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.1863, allocations: 0 / 0.7978 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.1863, allocations: 46.48 kB / 0.7978 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=26): time 9.92e-07/0.1863, allocations: 0 / 0.7978 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=27): time 0.001726/0.188, allocations: 1.065 MB / 0.7989 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.1881, allocations: 51.64 kB / 0.7989 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.1884, allocations: 341.6 kB / 0.7992 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.1884, allocations: 29.7 kB / 0.7993 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.1885, allocations: 251.5 kB / 0.7995 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.083e-05/0.1886, allocations: 90.66 kB / 0.7996 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.915e-05/0.1887, allocations: 74.05 kB / 0.7997 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1888, allocations: 346.8 kB / 0.8 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.1891, allocations: 148.8 kB / 0.8001 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/0.1894, allocations: 294.5 kB / 0.8004 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005778/0.19, allocations: 481.6 kB / 0.8009 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.19, allocations: 3.938 kB / 0.8009 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008585/0.1908, allocations: 0.5618 MB / 0.8014 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1909, allocations: 8 kB / 0.8014 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1909, allocations: 4 kB / 0.8014 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002652/0.1911, allocations: 86.95 kB / 0.8015 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.1914, allocations: 91.88 kB / 0.8016 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.1915, allocations: 19.88 kB / 0.8016 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.1917, allocations: 23.97 kB / 0.8017 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.1917, allocations: 20 kB / 0.8017 GB, free: 9.918 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001533/0.1919, allocations: 176.7 kB / 0.8018 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.748e-05/0.192, allocations: 39.53 kB / 0.8019 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007869/0.1928, allocations: 468.5 kB / 0.8023 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.1928, allocations: 4 kB / 0.8023 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1928, allocations: 0 / 0.8023 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1928, allocations: 3.984 kB / 0.8023 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.194, allocations: 0.9697 MB / 0.8033 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.194, allocations: 7.875 kB / 0.8033 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/0.1942, allocations: 47.95 kB / 0.8033 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002185/0.1945, allocations: 94.53 kB / 0.8034 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.1945, allocations: 0 / 0.8034 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.1945, allocations: 4 kB / 0.8034 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1945, allocations: 0 / 0.8034 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007127/0.1952, allocations: 0.5428 MB / 0.804 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.1954, allocations: 136.6 kB / 0.8041 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.589e-05/0.1954, allocations: 8 kB / 0.8041 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.1956, allocations: 23.91 kB / 0.8041 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.1957, allocations: 23.97 kB / 0.8041 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.1957, allocations: 7.984 kB / 0.8042 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001921/0.1959, allocations: 243.2 kB / 0.8044 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1959, allocations: 3.938 kB / 0.8044 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003603/0.1963, allocations: 84 kB / 0.8045 GB, free: 6.902 MB / 0.6231 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009579/0.1972, allocations: 1.088 MB / 0.8055 GB, free: 5.766 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007957/0.198, allocations: 0.6755 MB / 0.8062 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1981, allocations: 0 / 0.8062 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000396/0.1985, allocations: 434.8 kB / 0.8066 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006157/0.1991, allocations: 136.8 kB / 0.8067 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0041/0.2032, allocations: 3.866 MB / 0.8105 GB, free: 300 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.2035, allocations: 0.8269 MB / 0.8113 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002342/0.2038, allocations: 83.36 kB / 0.8114 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.2039, allocations: 127.4 kB / 0.8115 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of SimCode: time 2.11e-07/0.2039, allocations: 0 / 0.8115 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.156/2.36, allocations: 8.113 MB / 0.8194 GB, free: 7.363 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/2.36, allocations: 240.1 kB / 0.8197 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.895/4.255, allocations: 0 / 0.8197 GB, free: 7.109 MB / 0.6387 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/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)