Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.001224/0.001224, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001309/0.001309, allocations: 197.4 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001981/0.001981, allocations: 296.1 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8972/0.8972, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 92.23 kB / 0.5946 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1638, allocations: 86.98 MB / 0.6796 GB, free: 1.094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004696/0.1686, allocations: 3.3 MB / 0.6828 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002922/0.1715, allocations: 1.859 MB / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.1717, allocations: 14.34 kB / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008262/0.1725, allocations: 271 kB / 0.6849 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004551/0.173, allocations: 209.2 kB / 0.6851 GB, free: 11.45 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000656/0.1737, allocations: 257 kB / 0.6853 GB, free: 11.2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005123/0.1742, allocations: 0.5656 MB / 0.6859 GB, free: 10.63 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003958/0.1746, allocations: 195.5 kB / 0.6861 GB, free: 10.44 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.1748, allocations: 147.4 kB / 0.6862 GB, free: 10.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003406/0.1752, allocations: 203.3 kB / 0.6864 GB, free: 10.1 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.1752, allocations: 16 kB / 0.6864 GB, free: 10.08 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004458/0.1757, allocations: 275.4 kB / 0.6867 GB, free: 9.812 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.1758, allocations: 119.7 kB / 0.6868 GB, free: 9.695 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.1759, allocations: 135.3 kB / 0.6869 GB, free: 9.562 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004999/0.1764, allocations: 470.6 kB / 0.6874 GB, free: 9.102 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1765, allocations: 0 / 0.6874 GB, free: 9.102 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1765, allocations: 4 kB / 0.6874 GB, free: 9.098 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1765, allocations: 0 / 0.6874 GB, free: 9.098 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001081/0.1776, allocations: 0.5887 MB / 0.6879 GB, free: 8.461 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1776, allocations: 16.02 kB / 0.6879 GB, free: 8.445 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.07e-05/0.1777, allocations: 62.72 kB / 0.688 GB, free: 8.375 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007193/0.1784, allocations: 96.39 kB / 0.6881 GB, free: 8.281 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.1788, allocations: 280.4 kB / 0.6884 GB, free: 7.965 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.1788, allocations: 20.94 kB / 0.6884 GB, free: 7.945 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.1789, allocations: 40.28 kB / 0.6884 GB, free: 7.906 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006287/0.1796, allocations: 437.1 kB / 0.6888 GB, free: 7.445 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.1796, allocations: 4 kB / 0.6888 GB, free: 7.441 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/0.1796, allocations: 12 kB / 0.6889 GB, free: 7.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001466/0.1798, allocations: 40.53 kB / 0.6889 GB, free: 7.391 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005055/0.1803, allocations: 345.9 kB / 0.6892 GB, free: 7.051 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.1826, allocations: 2.206 MB / 0.6914 GB, free: 4.648 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000419/0.183, allocations: 278.3 kB / 0.6916 GB, free: 4.367 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.1833, allocations: 156.8 kB / 0.6918 GB, free: 4.211 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.1833, allocations: 4 kB / 0.6918 GB, free: 4.207 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.1833, allocations: 34.94 kB / 0.6918 GB, free: 4.164 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.372e-06/0.1833, allocations: 0 / 0.6918 GB, free: 4.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.001669/0.185, allocations: 1.064 MB / 0.6929 GB, free: 3.035 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.185, allocations: 55.41 kB / 0.6929 GB, free: 2.969 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.1853, allocations: 248.9 kB / 0.6932 GB, free: 2.719 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.1853, allocations: 29.7 kB / 0.6932 GB, free: 2.684 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.1854, allocations: 188 kB / 0.6934 GB, free: 2.492 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.776e-05/0.1855, allocations: 90.73 kB / 0.6935 GB, free: 2.402 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.1856, allocations: 73.69 kB / 0.6935 GB, free: 2.324 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1857, allocations: 334.8 kB / 0.6938 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.1859, allocations: 147.9 kB / 0.694 GB, free: 1.844 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.1862, allocations: 237.5 kB / 0.6942 GB, free: 1.574 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004708/0.1867, allocations: 411.4 kB / 0.6946 GB, free: 1.141 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1867, allocations: 0 / 0.6946 GB, free: 1.141 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001012/0.1877, allocations: 0.5855 MB / 0.6952 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1877, allocations: 4 kB / 0.6952 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.1877, allocations: 4 kB / 0.6952 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006556/0.1884, allocations: 192.8 kB / 0.6954 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.1887, allocations: 63.83 kB / 0.6954 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/0.1912, allocations: 2.3 MB / 0.6977 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002824/0.1915, allocations: 19.98 kB / 0.6977 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.1915, allocations: 15.98 kB / 0.6977 GB, free: 13.82 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001603/0.1917, allocations: 167 kB / 0.6979 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/0.1918, allocations: 27.64 kB / 0.6979 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005043/0.1923, allocations: 351.5 kB / 0.6982 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1923, allocations: 7.938 kB / 0.6982 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-06/0.1923, allocations: 4.062 kB / 0.6982 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1923, allocations: 0 / 0.6982 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009552/0.1933, allocations: 0.8121 MB / 0.699 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1933, allocations: 0 / 0.699 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003722/0.1936, allocations: 75.88 kB / 0.6991 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1937, allocations: 0 / 0.6991 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.1937, allocations: 8 kB / 0.6991 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.1937, allocations: 8.062 kB / 0.6991 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1937, allocations: 4 kB / 0.6991 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006853/0.1944, allocations: 0.6082 MB / 0.6997 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.1945, allocations: 128.8 kB / 0.6998 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.1946, allocations: 7.984 kB / 0.6999 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.1948, allocations: 8 kB / 0.6999 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.1948, allocations: 31.84 kB / 0.6999 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.1949, allocations: 4 kB / 0.6999 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001643/0.195, allocations: 184.4 kB / 0.7001 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.195, allocations: 0 / 0.7001 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003914/0.1954, allocations: 84 kB / 0.7002 GB, free: 11.2 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009914/0.1964, allocations: 1.162 MB / 0.7013 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008531/0.1973, allocations: 0.53 MB / 0.7018 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1973, allocations: 4 kB / 0.7018 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.1975, allocations: 151.8 kB / 0.702 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004439/0.198, allocations: 46.03 kB / 0.702 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004933/0.2029, allocations: 3.764 MB / 0.7057 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.2033, allocations: 0.795 MB / 0.7064 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002176/0.2035, allocations: 74.91 kB / 0.7065 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.2037, allocations: 85.91 kB / 0.7066 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of SimCode: time 6.81e-07/0.2037, allocations: 0 / 0.7066 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01892/0.2226, allocations: 6.438 MB / 0.7129 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.2228, allocations: 245.6 kB / 0.7131 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/1.974, allocations: 3.125 kB / 0.7131 GB, free: 13.89 MB / 0.5137 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)